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.0009587/0.0009587, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009165/0.0009165, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9588/0.9588, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.124/2.124, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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.797e-06/3.797e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.771e-05/4.151e-05, allocations: 3.219 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002582/0.002623, allocations: 0.7658 MB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.004779, allocations: 1.188 MB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.004855, allocations: 0 / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.004903, allocations: 9.531 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.005007, allocations: 12.38 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.005682, allocations: 136 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.00593, allocations: 121.3 kB / 0.8804 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.006057, allocations: 11.98 kB / 0.8804 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.006222, allocations: 67.88 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.006336, allocations: 35.89 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.006371, allocations: 8.656 kB / 0.8805 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.099e-05/0.006462, allocations: 27.97 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.006495, allocations: 13.27 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.006566, allocations: 27.98 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.006834, allocations: 99.73 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.00684, allocations: 0 / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006842, allocations: 1.594 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.006849, allocations: 4 kB / 0.8806 GB, free: 3.82 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.0007164/0.007565, allocations: 430.1 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.007626, allocations: 9.625 kB / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/0.007718, allocations: 16.89 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.007863, allocations: 124.4 kB / 0.8812 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.007886, allocations: 4.375 kB / 0.8812 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.007914, allocations: 8.375 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.008127, allocations: 65.91 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.008142, allocations: 4.172 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.008157, allocations: 8.375 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.008169, allocations: 384 / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.008229, allocations: 11.94 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.00883, allocations: 319.6 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.009001, allocations: 51.11 kB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.009037, allocations: 11.69 kB / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.009051, allocations: 7.984 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.009214, allocations: 81.03 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 4.067e-06/0.009218, allocations: 0 / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003694/0.009587, allocations: 97.69 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.009639, allocations: 55.41 kB / 0.8819 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.009759, allocations: 181.8 kB / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.009794, allocations: 29.7 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.009859, allocations: 142.7 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.009882, allocations: 23.83 kB / 0.8823 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.009947, allocations: 43.36 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01007, allocations: 0.4923 MB / 0.8828 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.01016, allocations: 57.69 kB / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.01025, allocations: 112.1 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01036, allocations: 116.1 kB / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01036, allocations: 0 / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002637/0.01063, allocations: 216.8 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.01067, allocations: 44.03 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.01068, allocations: 7.938 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01069, allocations: 0 / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.01079, allocations: 11.98 kB / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.0108, allocations: 320 / 0.8833 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.01089, allocations: 19.98 kB / 0.8833 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.01091, allocations: 20.05 kB / 0.8834 GB, free: 0.7539 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 8.607e-05/0.011, allocations: 168.6 kB / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.01101, allocations: 11.89 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.01104, allocations: 8.438 kB / 0.8835 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01105, allocations: 4 kB / 0.8835 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01105, allocations: 0 / 0.8835 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01105, allocations: 0 / 0.8835 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.01134, allocations: 341.3 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01134, allocations: 0 / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.01137, allocations: 7.984 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01137, allocations: 4 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01138, allocations: 4 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01139, allocations: 0 / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01139, allocations: 0 / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.01155, allocations: 243.7 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.01156, allocations: 7.953 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01157, allocations: 0 / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.01161, allocations: 7.984 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.01166, allocations: 7.984 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01167, allocations: 4 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.01172, allocations: 139.7 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 4 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001903/0.01191, allocations: 23.94 kB / 0.8843 GB, free: 15.71 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.0001373/0.01205, allocations: 105.9 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.01225, allocations: 156.7 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01225, allocations: 0 / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.01229, allocations: 35.61 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01253, allocations: 32.56 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01291, allocations: 162.5 kB / 0.8848 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.074e-05/0.01296, allocations: 63.98 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.01298, allocations: 4 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.01302, allocations: 16.48 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/0.01302, allocations: 0 / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.003908/0.01693, allocations: 1.749 MB / 0.8866 GB, free: 13.36 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: 5.603527755010873]