Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001125/0.001125, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002042/0.003166, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001097/0.001097, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002587, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8957/0.8957, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07832/0.974, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.42/2.42, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2251/2.645, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.388e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002194/0.002218, allocations: 0.8026 MB / 0.8197 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.003709, allocations: 1.19 MB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.003758, allocations: 0 / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.003788, allocations: 3.938 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.003846, allocations: 15.84 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.004244, allocations: 135.5 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.004431, allocations: 111.8 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.004515, allocations: 19.97 kB / 0.8212 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.004659, allocations: 67.95 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.004756, allocations: 39.86 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.004784, allocations: 12 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.004872, allocations: 16 kB / 0.8213 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.004899, allocations: 11.94 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.004946, allocations: 23.98 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005141, allocations: 83.73 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.005154, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005156, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.00517, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 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.0005503/0.00572, allocations: 318 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.005759, allocations: 16.02 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.005809, allocations: 8.938 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.005924, allocations: 121.7 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.005945, allocations: 8.312 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.005968, allocations: 4.375 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.006106, allocations: 70.92 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.006114, allocations: 192 / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.006122, allocations: 384 / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.00613, allocations: 4.375 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.006162, allocations: 11.92 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.006486, allocations: 180.2 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.006587, allocations: 38.62 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.006611, allocations: 12.84 kB / 0.8222 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.006618, allocations: 8 kB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.006735, allocations: 67.48 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/0.006737, allocations: 0 / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001651/0.006903, allocations: 73.55 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.006939, allocations: 55.41 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.007021, allocations: 122.7 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.007048, allocations: 33.7 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.007096, allocations: 88.09 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.007118, allocations: 15.88 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.007187, allocations: 41.69 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.007282, allocations: 322.8 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.007356, allocations: 53.69 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.00744, allocations: 86.73 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.007557, allocations: 105.8 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.00756, allocations: 0 / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002169/0.007777, allocations: 176.9 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.00782, allocations: 37.83 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.007827, allocations: 3.938 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007842, allocations: 0 / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.007928, allocations: 19.92 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.007931, allocations: 0 / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.008055, allocations: 31.88 kB / 0.8234 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.008075, allocations: 7.984 kB / 0.8235 GB, free: 13.59 MB / 0.8073 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.292e-05/0.008158, allocations: 117.8 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.008174, allocations: 11.94 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.008205, allocations: 16.36 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008208, allocations: 4 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.00821, allocations: 0 / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008213, allocations: 0 / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.008458, allocations: 218.8 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.008459, allocations: 0 / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.008504, allocations: 7.938 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.008516, allocations: 11.89 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.008519, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.008527, allocations: 4 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.008532, allocations: 4 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.008535, allocations: 3.984 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008666, allocations: 159.9 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.008685, allocations: 3.938 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.008758, allocations: 4 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.008792, allocations: 3.984 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.008801, allocations: 8 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.008827, allocations: 20.83 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008827, allocations: 0 / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002536/0.00908, allocations: 23.94 kB / 0.824 GB, free: 12.93 MB / 0.8073 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.0001471/0.009228, allocations: 92.34 kB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.009422, allocations: 149.9 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.009428, allocations: 0 / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.009475, allocations: 28.83 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.009731, allocations: 105.3 kB / 0.8244 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.01032, allocations: 158.5 kB / 0.8246 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01036, allocations: 67.2 kB / 0.8246 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.01039, allocations: 4 kB / 0.8246 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.0105, allocations: 67.36 kB / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of SimCode: time 8.51e-07/0.0105, allocations: 0 / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of Templates: time 0.004386/0.01488, allocations: 1.717 MB / 0.8264 GB, free: 10.49 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0921407621353865]