Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001379/0.001379, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001705/0.001705, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.072/1.072, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.268/2.268, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.63e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001814/0.00185, allocations: 0.7648 MB / 0.8789 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.003402, allocations: 1.19 MB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.003461, allocations: 0.5625 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.003492, allocations: 3.938 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.003586, allocations: 18.92 kB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.004106, allocations: 132.8 kB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.004302, allocations: 121.3 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004409, allocations: 11.98 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.004539, allocations: 67.88 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.004631, allocations: 35.89 kB / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.004657, allocations: 13.84 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.004725, allocations: 19.98 kB / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.004755, allocations: 15.97 kB / 0.8805 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.004809, allocations: 31.92 kB / 0.8806 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.005017, allocations: 103.7 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.005023, allocations: 2.719 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.005024, allocations: 0 / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.005032, allocations: 0 / 0.8807 GB, free: 4.105 MB / 0.8386 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.0005465/0.005579, allocations: 434.1 kB / 0.8811 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.005622, allocations: 8.031 kB / 0.8811 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.005688, allocations: 16.89 kB / 0.8811 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.005798, allocations: 116.5 kB / 0.8812 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.005812, allocations: 5.094 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.005831, allocations: 16.31 kB / 0.8812 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.005987, allocations: 68.27 kB / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.005993, allocations: 192 / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.006005, allocations: 384 / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.006014, allocations: 4.375 kB / 0.8813 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.006054, allocations: 15.94 kB / 0.8813 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.006498, allocations: 319.6 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.00662, allocations: 51.05 kB / 0.8817 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.006646, allocations: 11.69 kB / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.006657, allocations: 4 kB / 0.8817 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.006785, allocations: 77.09 kB / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.355e-06/0.006787, allocations: 3.938 kB / 0.8818 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002229/0.00701, allocations: 93.62 kB / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.007049, allocations: 55.41 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.007148, allocations: 185.8 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.00717, allocations: 25.7 kB / 0.8821 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.007233, allocations: 142.8 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.007256, allocations: 23.84 kB / 0.8823 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.007317, allocations: 43.36 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.007451, allocations: 0.4923 MB / 0.8828 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.007538, allocations: 57.69 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.007632, allocations: 112 kB / 0.8829 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.007788, allocations: 120.1 kB / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.007792, allocations: 0 / 0.8831 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003089/0.0081, allocations: 212.9 kB / 0.8833 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.008147, allocations: 37.69 kB / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.008155, allocations: 4 kB / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.008174, allocations: 4 kB / 0.8833 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.008277, allocations: 11.98 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.008284, allocations: 4.125 kB / 0.8833 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.008389, allocations: 27.92 kB / 0.8833 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.008409, allocations: 11.98 kB / 0.8834 GB, free: 1.043 MB / 0.8386 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 0.0001059/0.008514, allocations: 165.5 kB / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.008534, allocations: 15.89 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.008569, allocations: 8.438 kB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.008571, allocations: 0 / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.008576, allocations: 3.938 kB / 0.8835 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.00858, allocations: 4 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.008934, allocations: 341.7 kB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008936, allocations: 0 / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.008985, allocations: 11.92 kB / 0.8839 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.008991, allocations: 3.984 kB / 0.8839 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.009, allocations: 0 / 0.8839 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.009002, allocations: 80 / 0.8839 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.009005, allocations: 3.984 kB / 0.8839 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.009173, allocations: 243.8 kB / 0.8841 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.009191, allocations: 3.953 kB / 0.8841 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.009217, allocations: 4 kB / 0.8841 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.009289, allocations: 7.984 kB / 0.8841 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.009343, allocations: 11.98 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.009351, allocations: 4 kB / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.009406, allocations: 135.2 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009406, allocations: 4 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002124/0.009618, allocations: 23.98 kB / 0.8843 GB, free: 15.99 MB / 0.8542 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.0001561/0.009774, allocations: 103.2 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.009989, allocations: 168 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.00999, allocations: 0 / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.01003, allocations: 31.67 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.01028, allocations: 19.92 kB / 0.8846 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.0107, allocations: 162.4 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.01074, allocations: 63.34 kB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.01077, allocations: 4.125 kB / 0.8848 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.0108, allocations: 20.48 kB / 0.8849 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of SimCode: time 1.733e-06/0.0108, allocations: 0 / 0.8849 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.004177/0.01498, allocations: 1.618 MB / 0.8864 GB, free: 13.78 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.031800706172362]