Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001046/0.001046, allocations: 80.92 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001015/0.001015, allocations: 165 kB / 24.17 MB, free: 324 kB / 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 1.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.068/2.068, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: 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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.563e-05, allocations: 3.062 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.007922/0.007947, allocations: 0.7978 MB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.009351, allocations: 1.188 MB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.009402, allocations: 0.5469 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.009433, allocations: 3.938 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.009515, allocations: 17.45 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.009919, allocations: 132 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.01009, allocations: 120.6 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.01017, allocations: 16.48 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.01631, allocations: 65.42 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.0164, allocations: 41.38 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.01642, allocations: 8 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.01649, allocations: 27.98 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.01651, allocations: 7.938 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.01655, allocations: 40.98 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.0167, allocations: 91.75 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.01671, allocations: 0 / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01671, allocations: 0.75 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.01671, allocations: 0 / 0.7626 GB, free: 4.051 MB / 0.7136 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.0003816/0.01709, allocations: 303.2 kB / 0.7629 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.01713, allocations: 12.78 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.01717, allocations: 8.922 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.01726, allocations: 127.8 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.01728, allocations: 4.375 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.01729, allocations: 8.375 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.01739, allocations: 66.86 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.0174, allocations: 192 / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.01741, allocations: 4.375 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01741, allocations: 5.828 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.01744, allocations: 11.94 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.01768, allocations: 176.3 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.071e-05/0.01776, allocations: 35.77 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.01778, allocations: 12.97 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.01779, allocations: 9.812 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.17e-05/0.01788, allocations: 63.44 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.01788, allocations: 4 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001302/0.01801, allocations: 69.55 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.01805, allocations: 62.59 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.01812, allocations: 122.6 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01814, allocations: 33.69 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.01818, allocations: 88.12 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.0182, allocations: 11.91 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.01824, allocations: 41.67 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.01832, allocations: 314.8 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.01838, allocations: 53.69 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.01844, allocations: 92.23 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.01852, allocations: 106.2 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01852, allocations: 3.938 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001439/0.01866, allocations: 170.2 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.01885, allocations: 39.27 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01885, allocations: 3.938 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.01887, allocations: 8.641 kB / 0.7645 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.01893, allocations: 11.94 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01893, allocations: 0.6875 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.01902, allocations: 38.8 kB / 0.7646 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.01903, allocations: 8 kB / 0.7646 GB, free: 1.75 MB / 0.7136 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 7.369e-05/0.01911, allocations: 117.8 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.01912, allocations: 7.984 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.01914, allocations: 12.38 kB / 0.7647 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01914, allocations: 7.125 kB / 0.7647 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01915, allocations: 0 / 0.7647 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01915, allocations: 0 / 0.7647 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.01932, allocations: 218.8 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01933, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.01935, allocations: 4 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01935, allocations: 3.938 kB / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.01936, allocations: 11.98 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01936, allocations: 0 / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01936, allocations: 0.9375 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.01944, allocations: 151.5 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.01945, allocations: 10.39 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.01946, allocations: 3.938 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.009e-05/0.0195, allocations: 8 kB / 0.7651 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.01953, allocations: 3.984 kB / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.01954, allocations: 7.984 kB / 0.7651 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.478e-05/0.01955, allocations: 16.84 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01955, allocations: 2.656 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001455/0.0197, allocations: 24 kB / 0.7652 GB, free: 1.105 MB / 0.7136 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.0001171/0.01982, allocations: 85.22 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01996, allocations: 157.8 kB / 0.7654 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01997, allocations: 1.562 kB / 0.7654 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.02, allocations: 28.78 kB / 0.7654 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.02017, allocations: 15.92 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.02042, allocations: 158.3 kB / 0.7656 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.227e-05/0.02045, allocations: 63.84 kB / 0.7657 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.02048, allocations: 4.781 kB / 0.7657 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.02056, allocations: 71.36 kB / 0.7657 GB, free: 464 kB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.02056, allocations: 3.031 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of Templates: time 0.003458/0.02402, allocations: 1.681 MB / 0.7674 GB, free: 14.87 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.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.234744526911527]