Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009062/0.0009062, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.651/1.651, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.518e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001756/0.001782, allocations: 0.6499 MB / 0.9511 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002934, allocations: 1.214 MB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.002975, allocations: 0 / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.003001, allocations: 0 / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.003062, allocations: 11.86 kB / 0.9523 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.003525, allocations: 220.9 kB / 0.9525 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.003692, allocations: 167.7 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003793, allocations: 19.91 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.003892, allocations: 91.94 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.003996, allocations: 51.84 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.004021, allocations: 16 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.004079, allocations: 27.98 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.004101, allocations: 7.984 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.00416, allocations: 55.89 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.004338, allocations: 179.6 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004341, allocations: 0 / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004342, allocations: 0 / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004346, allocations: 0 / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006409/0.004987, allocations: 365.5 kB / 0.9535 GB, free: 352 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.005024, allocations: 12.03 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.005048, allocations: 30.75 kB / 0.9535 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.005089, allocations: 16.83 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.005162, allocations: 113.7 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.005177, allocations: 12.36 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.005195, allocations: 8.375 kB / 0.9537 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.072e-05/0.005286, allocations: 46.25 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005293, allocations: 192 / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005302, allocations: 384 / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005307, allocations: 4.125 kB / 0.9537 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.005341, allocations: 27.92 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.005699, allocations: 287.9 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.005765, allocations: 34.56 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.005785, allocations: 12.86 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.005795, allocations: 3.938 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.005922, allocations: 79.41 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.005924, allocations: 3.984 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001875/0.006111, allocations: 105.6 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.006145, allocations: 59.39 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.00621, allocations: 113.8 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.00623, allocations: 33.7 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.006275, allocations: 92.09 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.00629, allocations: 19.89 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.006351, allocations: 53.62 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.006421, allocations: 314.8 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.006534, allocations: 119.4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.006654, allocations: 156.9 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.006783, allocations: 168 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.006786, allocations: 3.938 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002948/0.007081, allocations: 324.3 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.00712, allocations: 67.39 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.007126, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.007137, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.885e-05/0.007156, allocations: 11.98 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007161, allocations: 3.938 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.007355, allocations: 59.95 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.007374, allocations: 16.3 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.007442, allocations: 121.8 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.007451, allocations: 11.89 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.007474, allocations: 8.438 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007476, allocations: 0 / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.00748, allocations: 0 / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007483, allocations: 4 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.652e-05/0.00757, allocations: 144.7 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007571, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-06/0.007576, allocations: 4 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007578, allocations: 0 / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007586, allocations: 4 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.007586, allocations: 0 / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.007589, allocations: 7.938 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.00769, allocations: 113 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.007696, allocations: 0 / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007709, allocations: 11.98 kB / 0.9562 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.007724, allocations: 4 kB / 0.9562 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.007757, allocations: 11.97 kB / 0.9562 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007761, allocations: 0 / 0.9562 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.007795, allocations: 91.22 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007795, allocations: 0 / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001588/0.007953, allocations: 35.98 kB / 0.9563 GB, free: 13.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.008276, allocations: 0.6581 MB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.008539, allocations: 278.1 kB / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.008541, allocations: 256 / 0.9573 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.00857, allocations: 24 kB / 0.9573 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.008741, allocations: 14.67 kB / 0.9573 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.01012, allocations: 1.968 MB / 0.9592 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.01016, allocations: 71.25 kB / 0.9593 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.01019, allocations: 11.98 kB / 0.9593 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.01022, allocations: 20.5 kB / 0.9593 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.01022, allocations: 0 / 0.9593 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.02826, allocations: 3.766 MB / 0.963 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.782, allocations: 11.98 kB / 0.963 GB, free: 6.188 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.74624259211123]