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.0007549/0.0007549, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009898/0.001745, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007159/0.0007159, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009416/0.001658, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9485/0.9485, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.056, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.68/2.68, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3634/3.043, allocations: 145.9 MB / 0.817 GB, free: 4.211 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 2.164e-06/2.164e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.957e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001776/0.001805, allocations: 0.7909 MB / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003138, allocations: 1.193 MB / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.003191, allocations: 0 / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.003222, allocations: 3.938 kB / 0.8203 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.003274, allocations: 15.86 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.003642, allocations: 123.6 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.003825, allocations: 119.8 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003927, allocations: 15.92 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.004066, allocations: 67.94 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.004157, allocations: 43.88 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.004182, allocations: 8 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.004264, allocations: 16 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.004289, allocations: 11.94 kB / 0.8207 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.004332, allocations: 27.92 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004504, allocations: 75.8 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.004522, allocations: 4 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004523, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.00454, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 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.0005477/0.005087, allocations: 318 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.005139, allocations: 16.08 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.005178, allocations: 8.875 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.005289, allocations: 117.7 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.005304, allocations: 8.359 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.005318, allocations: 4.375 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.005466, allocations: 74.84 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005478, allocations: 192 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.00549, allocations: 384 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.005498, allocations: 4.375 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.005538, allocations: 11.92 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.005887, allocations: 188.2 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.005993, allocations: 34.56 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.006014, allocations: 12.86 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.006022, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.006138, allocations: 71.56 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.00614, allocations: 0 / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001565/0.006296, allocations: 73.53 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.006341, allocations: 55.41 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.006436, allocations: 126.7 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.006461, allocations: 33.7 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.00651, allocations: 88.09 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.006535, allocations: 19.88 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.006591, allocations: 37.69 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.006708, allocations: 318.8 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.006769, allocations: 53.69 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.00684, allocations: 93.09 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.006946, allocations: 101.9 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.006949, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001693/0.007118, allocations: 173 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.007169, allocations: 41.62 kB / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.007178, allocations: 8 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007191, allocations: 4 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.0073, allocations: 15.98 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.007305, allocations: 3.938 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.007413, allocations: 32 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.007431, allocations: 7.984 kB / 0.8228 GB, free: 14.01 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.423e-05/0.007516, allocations: 121.8 kB / 0.8229 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.007528, allocations: 4 kB / 0.8229 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.007561, allocations: 20.36 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007564, allocations: 0 / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007565, allocations: 0 / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007569, allocations: 0 / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.007787, allocations: 210.8 kB / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.007792, allocations: 7.984 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.00784, allocations: 7.938 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.007854, allocations: 15.89 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.007858, allocations: 0 / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007864, allocations: 0 / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.007868, allocations: 4 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.00787, allocations: 0 / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.00797, allocations: 151.5 kB / 0.8233 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.007988, allocations: 7.922 kB / 0.8233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.008028, allocations: 4 kB / 0.8233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.00806, allocations: 7.984 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.008067, allocations: 8 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.181e-05/0.008089, allocations: 24.88 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008089, allocations: 0 / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001566/0.008246, allocations: 23.94 kB / 0.8234 GB, free: 13.35 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.0001625/0.008408, allocations: 88.34 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.008602, allocations: 149.9 kB / 0.8236 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.008608, allocations: 0 / 0.8236 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.008644, allocations: 29.08 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.008827, allocations: 20.61 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.009399, allocations: 153.2 kB / 0.8238 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.2e-05/0.009451, allocations: 71.14 kB / 0.8239 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.009483, allocations: 7.984 kB / 0.8239 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.009569, allocations: 67.36 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.313e-06/0.00957, allocations: 4 kB / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of Templates: time 0.004238/0.01381, allocations: 1.734 MB / 0.8257 GB, free: 11 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.755171049386263]