Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0009384/0.0009384, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009286/0.0009286, allocations: 165 kB / 24.17 MB, free: 328 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 0.9735/0.9735, allocations: 177.1 MB / 204.6 MB, free: 5.504 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 1.905/1.905, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] 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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.481e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001382/0.001397, allocations: 0.7628 MB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.002758, allocations: 1.19 MB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.002804, allocations: 0 / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.002832, allocations: 3.938 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.00291, allocations: 17.45 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.003308, allocations: 128.5 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003462, allocations: 121 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.003544, allocations: 19.95 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.003651, allocations: 66.95 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.003725, allocations: 35.94 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.003746, allocations: 12 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.003799, allocations: 21.45 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.003821, allocations: 7.938 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.00386, allocations: 43.89 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.003992, allocations: 95.75 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003994, allocations: 0.5312 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003995, allocations: 0 / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003998, allocations: 1.344 kB / 0.7625 GB, free: 4.141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003878/0.004386, allocations: 306.4 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004421, allocations: 8.031 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.004463, allocations: 14.27 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.004561, allocations: 121.6 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.004577, allocations: 8.359 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.004599, allocations: 13.62 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.004709, allocations: 58.94 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004717, allocations: 192 / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004726, allocations: 5.609 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004733, allocations: 384 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.004763, allocations: 19.92 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.005051, allocations: 177 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.00515, allocations: 35.09 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.005168, allocations: 13.77 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.005176, allocations: 0 / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.005278, allocations: 80.48 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.005279, allocations: 0 / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001235/0.005402, allocations: 69.59 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.005437, allocations: 56.62 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.005498, allocations: 123 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.005515, allocations: 29.7 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.005551, allocations: 92.77 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.00557, allocations: 27.78 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.005614, allocations: 30.45 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.005687, allocations: 322.8 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.005736, allocations: 54.44 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.005795, allocations: 93.83 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.005869, allocations: 100.3 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.005873, allocations: 4 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001382/0.006011, allocations: 170.4 kB / 0.7644 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.006039, allocations: 37.7 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.006045, allocations: 7.188 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.006058, allocations: 4 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.006123, allocations: 11.98 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006127, allocations: 0 / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.006231, allocations: 19.98 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.006249, allocations: 11.98 kB / 0.7645 GB, free: 1.84 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.998e-05/0.006329, allocations: 124.8 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.006344, allocations: 7.984 kB / 0.7646 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.006375, allocations: 16.44 kB / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.006379, allocations: 4 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.006381, allocations: 0 / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006384, allocations: 0 / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.006719, allocations: 214.8 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006721, allocations: 0 / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.006747, allocations: 9.438 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.006751, allocations: 7.938 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.006758, allocations: 4 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.00676, allocations: 0 / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.006762, allocations: 5.391 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.066e-05/0.006852, allocations: 151.5 kB / 0.765 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.006863, allocations: 7.953 kB / 0.765 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.00688, allocations: 3.938 kB / 0.765 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.006934, allocations: 9.281 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.006964, allocations: 3.984 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.006968, allocations: 4 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.006987, allocations: 21.66 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006987, allocations: 7.875 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000232/0.007219, allocations: 28.56 kB / 0.7651 GB, free: 1.176 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001087/0.007328, allocations: 85.06 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.007498, allocations: 158 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007501, allocations: 2.438 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.007536, allocations: 20.84 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.007718, allocations: 15.98 kB / 0.7654 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.007984, allocations: 163.8 kB / 0.7655 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.008022, allocations: 59.34 kB / 0.7656 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.008046, allocations: 4 kB / 0.7656 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.008135, allocations: 67.36 kB / 0.7657 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.008135, allocations: 0 / 0.7657 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.003651/0.01179, allocations: 1.702 MB / 0.7673 GB, free: 14.94 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.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.085623214952648]