Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0008101/0.0008101, allocations: 76.44 kB / 19.17 MB, free: 0.7422 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.00142/0.00142, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8896/0.8896, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.645/1.645, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.227e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001653/0.001675, allocations: 0.7313 MB / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002768, allocations: 1.171 MB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.002812, allocations: 3.938 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.00284, allocations: 3.938 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.002902, allocations: 11.92 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.003338, allocations: 135.9 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.003502, allocations: 119.7 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.003597, allocations: 15.92 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003701, allocations: 71.88 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.003775, allocations: 35.89 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.003795, allocations: 8 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.003854, allocations: 23.98 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.003874, allocations: 11.98 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.003922, allocations: 35.91 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.004089, allocations: 131.6 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004091, allocations: 0 / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004092, allocations: 0 / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.004097, allocations: 3.938 kB / 0.953 GB, free: 0.9414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004532/0.004551, allocations: 335.8 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.00459, allocations: 16.03 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.004617, allocations: 30.75 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.004656, allocations: 8.938 kB / 0.9533 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.72e-05/0.004733, allocations: 121.6 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004746, allocations: 8.375 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.004761, allocations: 4.375 kB / 0.9535 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.004901, allocations: 70.2 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.004907, allocations: 192 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004915, allocations: 384 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004921, allocations: 4.125 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.005015, allocations: 47.94 kB / 0.9536 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.00543, allocations: 279.8 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.005553, allocations: 50.61 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.005611, allocations: 36.95 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005624, allocations: 3.938 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.005804, allocations: 91.3 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.005806, allocations: 4 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002837/0.00609, allocations: 141.6 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.006125, allocations: 55.41 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.006192, allocations: 117.8 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.006212, allocations: 29.7 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.006254, allocations: 88.14 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.006276, allocations: 27.8 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.006329, allocations: 45.62 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.006405, allocations: 314.8 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.00652, allocations: 85.66 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.006628, allocations: 117.9 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.006783, allocations: 146.2 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006785, allocations: 0 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002701/0.007055, allocations: 248.8 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.007091, allocations: 33.7 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.007098, allocations: 3.984 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.007112, allocations: 4 kB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.007174, allocations: 20.06 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.00718, allocations: 0 / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.007295, allocations: 31.95 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.00731, allocations: 8 kB / 0.9555 GB, free: 14.09 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.28e-05/0.007393, allocations: 127.5 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.007407, allocations: 11.89 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.007433, allocations: 4.438 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007435, allocations: 7.938 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.007441, allocations: 0 / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007445, allocations: 7.938 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.007799, allocations: 341.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007801, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.007834, allocations: 12 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007836, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.007845, allocations: 3.984 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007846, allocations: 3.938 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007848, allocations: 4 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.008019, allocations: 207.4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.008029, allocations: 3.953 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008042, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.008087, allocations: 11.98 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.008122, allocations: 3.984 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.008129, allocations: 7.938 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.008177, allocations: 95.75 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008177, allocations: 4 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001873/0.008364, allocations: 24 kB / 0.9563 GB, free: 13.15 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0005143/0.008878, allocations: 0.7475 MB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.009267, allocations: 189 kB / 0.9572 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.009271, allocations: 4.25 kB / 0.9572 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.00938, allocations: 35.98 kB / 0.9573 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.009642, allocations: 18.61 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.01171, allocations: 1.814 MB / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.01177, allocations: 79.23 kB / 0.9591 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.01181, allocations: 7.859 kB / 0.9591 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.01186, allocations: 28.47 kB / 0.9592 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of SimCode: time 9.01e-07/0.01186, allocations: 0 / 0.9592 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.02929, allocations: 3.335 MB / 0.9624 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.688, allocations: 7.578 kB / 0.9624 GB, free: 6.852 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.574662516824901]