Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001484/0.001484, allocations: 92.22 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.002344/0.002344, allocations: 169 kB / 23.02 MB, free: 1.551 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.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.142/2.142, 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.482e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001897/0.001922, allocations: 0.766 MB / 0.8789 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003432, allocations: 1.196 MB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.003477, allocations: 0 / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.003506, allocations: 4.781 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.003573, allocations: 11.86 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.003987, allocations: 133.1 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.004109, allocations: 116.3 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.004179, allocations: 19.97 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.004264, allocations: 60.61 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.004327, allocations: 35.88 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.004347, allocations: 8.719 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.004395, allocations: 27.89 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.004414, allocations: 11.94 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.004456, allocations: 35.95 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004588, allocations: 95.69 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.00459, allocations: 0 / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004591, allocations: 0 / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.004594, allocations: 0 / 0.8806 GB, free: 3.809 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004082/0.005002, allocations: 430.1 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.005033, allocations: 12.03 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.005075, allocations: 12.89 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.005156, allocations: 120.5 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.005167, allocations: 5.844 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.005184, allocations: 8.375 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.005292, allocations: 66.92 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005301, allocations: 5.109 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.005307, allocations: 384 / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005313, allocations: 4.375 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.005346, allocations: 20.92 kB / 0.8813 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.005658, allocations: 307.7 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.005791, allocations: 48.17 kB / 0.8816 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.005828, allocations: 15.69 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.005835, allocations: 1.062 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.258e-05/0.005928, allocations: 81.05 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.005929, allocations: 0.8438 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001772/0.006106, allocations: 105.6 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.006134, allocations: 53.06 kB / 0.8819 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.006213, allocations: 177.9 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.006231, allocations: 29.7 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.006282, allocations: 134.9 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.006301, allocations: 20.39 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.006354, allocations: 43.36 kB / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006463, allocations: 0.4901 MB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.006528, allocations: 57.69 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.00661, allocations: 108.1 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.006731, allocations: 117.2 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006733, allocations: 1.094 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002191/0.006952, allocations: 226.5 kB / 0.8832 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.006978, allocations: 37.69 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006983, allocations: 320 / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.006994, allocations: 0 / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.007055, allocations: 14.83 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.007062, allocations: 7.938 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.007146, allocations: 31.88 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.007166, allocations: 11.97 kB / 0.8833 GB, free: 0.7695 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,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.145e-05/0.007237, allocations: 166.9 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.007249, allocations: 13.58 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.007276, allocations: 16.38 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007277, allocations: 0 / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.00728, allocations: 0 / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007283, allocations: 0 / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.007505, allocations: 342 kB / 0.8838 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007506, allocations: 0.7812 kB / 0.8838 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.007529, allocations: 7.984 kB / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.00753, allocations: 0.75 kB / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.007537, allocations: 4 kB / 0.8838 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.007537, allocations: 128 / 0.8838 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007538, allocations: 4 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.007675, allocations: 239.8 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.007683, allocations: 7.953 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.007697, allocations: 0 / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.007734, allocations: 7.984 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.007763, allocations: 4 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.00777, allocations: 7.984 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.007813, allocations: 135.7 kB / 0.8842 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007813, allocations: 0 / 0.8842 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001641/0.007977, allocations: 23.98 kB / 0.8843 GB, free: 15.73 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 (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 8.824e-05/0.008065, allocations: 107.2 kB / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.008233, allocations: 164.2 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008235, allocations: 4 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.008274, allocations: 39.52 kB / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.00846, allocations: 19.92 kB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.00871, allocations: 159 kB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.008742, allocations: 63.34 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.008762, allocations: 7.859 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.008784, allocations: 12.5 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of SimCode: time 4.3e-07/0.008784, allocations: 0 / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.002902/0.01169, allocations: 1.606 MB / 0.8864 GB, free: 13.52 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.722782792989165]