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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.317/2.317, allocations: 393.5 MB / 408.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 182.6 kB / 0.4902 GB, free: 2.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.00092, allocations: 94.22 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003994, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.5214, allocations: 150.4 MB / 1.376 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5217, allocations: 71.95 kB / 1.376 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006399/0.5281, allocations: 2.107 MB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5282, allocations: 4 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.5282, allocations: 0 / 1.378 GB, free: 1.004 MB / 0.8698 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.0005883/0.5288, allocations: 400.9 kB / 1.379 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5288, allocations: 12.03 kB / 1.379 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.5289, allocations: 7.906 kB / 1.379 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.5291, allocations: 186.8 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.5291, allocations: 4 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.5291, allocations: 8 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.5294, allocations: 73.64 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5294, allocations: 3.984 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5294, allocations: 8 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.5294, allocations: 0 / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.5296, allocations: 51.95 kB / 1.379 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.5302, allocations: 344.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.5304, allocations: 58.61 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5304, allocations: 3.938 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.5307, allocations: 103.3 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.5307, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005125/0.5312, allocations: 165.5 kB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.5313, allocations: 55.41 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.5314, allocations: 105 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.5314, allocations: 29.7 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.5315, allocations: 92.05 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.5315, allocations: 23.78 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.5316, allocations: 4 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5317, allocations: 318.8 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.5319, allocations: 59.95 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.5321, allocations: 88.25 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.5322, allocations: 93.67 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5323, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004537/0.5327, allocations: 215.1 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.5328, allocations: 39.73 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5328, allocations: 4 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5328, allocations: 0 / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.5329, allocations: 15.98 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5329, allocations: 3.953 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.5332, allocations: 52.02 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.5332, allocations: 12 kB / 1.381 GB, free: 14.16 MB / 0.8855 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.5333, allocations: 126.3 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.5333, allocations: 3.906 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.5334, allocations: 16.36 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5334, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5334, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5334, allocations: 3.953 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.5339, allocations: 386.5 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5339, allocations: 0 / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.534, allocations: 15.92 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.534, allocations: 0 / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.534, allocations: 0 / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.534, allocations: 7.953 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.534, allocations: 0 / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.5344, allocations: 215.8 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.5344, allocations: 85.02 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.5345, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.5346, allocations: 23.92 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5346, allocations: 11.94 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.5346, allocations: 4.062 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.5347, allocations: 95.2 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5347, allocations: 0 / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002601/0.535, allocations: 32 kB / 1.382 GB, free: 13.05 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.5352, allocations: 115.2 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.5356, allocations: 183.3 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5356, allocations: 0 / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.5357, allocations: 52.28 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.536, allocations: 8.859 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.5364, allocations: 183 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.5367, allocations: 0.6965 MB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.5367, allocations: 7.781 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.5368, allocations: 11.44 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5368, allocations: 0 / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.003907/0.5407, allocations: 1.271 MB / 1.384 GB, free: 10.47 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches