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.0009642/0.0009642, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0008993/0.0008993, allocations: 177 kB / 23.36 MB, free: 1.137 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.332 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.405/2.405, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.873e-06/1.873e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.504e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001284/0.001299, allocations: 0.7511 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002625, allocations: 1.189 MB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.002672, allocations: 4 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.0027, allocations: 3.938 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.002782, allocations: 11.81 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.003164, allocations: 135.5 kB / 0.8407 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.003312, allocations: 119.8 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.003388, allocations: 15.97 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.003494, allocations: 63.89 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.003571, allocations: 35.94 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.003591, allocations: 12 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.003648, allocations: 27.98 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.00367, allocations: 11.92 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.003707, allocations: 27.97 kB / 0.841 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.003844, allocations: 99.69 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003846, allocations: 0 / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003847, allocations: 0 / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.00385, allocations: 0 / 0.841 GB, free: 11.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003816/0.004231, allocations: 314.4 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.004263, allocations: 8.031 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.004297, allocations: 8.938 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.866e-05/0.004376, allocations: 125.6 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.004389, allocations: 8.375 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.004405, allocations: 4.375 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.004513, allocations: 66.94 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004523, allocations: 8.109 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004531, allocations: 384 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.004538, allocations: 4.359 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.787e-05/0.004566, allocations: 15.92 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.00484, allocations: 180.2 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.004919, allocations: 42.52 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.004935, allocations: 12.84 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.004943, allocations: 4 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/0.00502, allocations: 63.44 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.00502, allocations: 0 / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001231/0.005144, allocations: 77.67 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.005175, allocations: 55.41 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.005233, allocations: 122.6 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.005251, allocations: 33.7 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.005287, allocations: 96.11 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.005302, allocations: 11.84 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.005348, allocations: 41.67 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.005419, allocations: 318.8 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.005473, allocations: 49.69 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.005529, allocations: 89.95 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.629e-05/0.005606, allocations: 101.9 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005608, allocations: 3.938 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001327/0.00574, allocations: 172.9 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.005766, allocations: 33.7 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.005772, allocations: 3.938 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.005787, allocations: 7.984 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.005841, allocations: 11.94 kB / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005844, allocations: 0 / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.005922, allocations: 31.92 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.005933, allocations: 8.125 kB / 0.8431 GB, free: 9.379 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,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 6.245e-05/0.005996, allocations: 119.9 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.006005, allocations: 7.984 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.006025, allocations: 12.38 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006028, allocations: 4 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.00603, allocations: 0 / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006033, allocations: 64 / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.006202, allocations: 222.8 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006203, allocations: 0 / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.006224, allocations: 8 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.006226, allocations: 3.938 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.006233, allocations: 7.984 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006234, allocations: 0 / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006235, allocations: 0 / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.343e-05/0.006308, allocations: 151.9 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.006318, allocations: 11.94 kB / 0.8436 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006332, allocations: 7.938 kB / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.006365, allocations: 4 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.006395, allocations: 3.984 kB / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.0064, allocations: 7.984 kB / 0.8436 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.508e-05/0.006415, allocations: 20.86 kB / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006415, allocations: 0 / 0.8437 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001392/0.006554, allocations: 23.94 kB / 0.8437 GB, free: 8.727 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 (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 9.352e-05/0.006648, allocations: 84.41 kB / 0.8438 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.006784, allocations: 153.8 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006786, allocations: 0 / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.006817, allocations: 32.84 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.006954, allocations: 19.61 kB / 0.844 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.007173, allocations: 152.9 kB / 0.8441 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.007205, allocations: 63.34 kB / 0.8442 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.007223, allocations: 4 kB / 0.8442 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.007295, allocations: 71.36 kB / 0.8442 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of SimCode: time 5.82e-07/0.007295, allocations: 0 / 0.8442 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of Templates: time 0.002904/0.0102, allocations: 1.695 MB / 0.8459 GB, free: 6.422 MB / 0.8073 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: 5.376283529680222]