Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.28/2.28, allocations: 393.5 MB / 408.4 MB, free: 11 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.001183/0.001184, allocations: 187.1 kB / 0.4902 GB, free: 2.223 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.522/1.522, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.001083/0.001083, allocations: 105.5 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 14.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4175, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.6188, allocations: 150.4 MB / 1.376 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6192, allocations: 67.95 kB / 1.376 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.6295, allocations: 3.379 MB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6295, allocations: 0 / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.6295, allocations: 0 / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006628/0.6302, allocations: 478.3 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/0.6303, allocations: 20.5 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.6304, allocations: 19.91 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.6305, allocations: 177.8 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.6306, allocations: 19.92 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.6307, allocations: 20 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.6309, allocations: 131.2 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.631, allocations: 4 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.631, allocations: 7.984 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.631, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.6311, allocations: 59.95 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009057/0.632, allocations: 0.5513 MB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.6323, allocations: 161.3 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.6323, allocations: 8 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.6327, allocations: 210.4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.6327, allocations: 3.938 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0005611/0.6333, allocations: 309.4 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.6334, allocations: 97.05 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.6335, allocations: 119.4 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.6335, allocations: 45.69 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.6336, allocations: 92.61 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.6337, allocations: 47.44 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.6337, allocations: 8 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6338, allocations: 326.8 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.634, allocations: 96.22 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.6343, allocations: 164.1 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.6345, allocations: 147.4 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6345, allocations: 0 / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005542/0.6351, allocations: 368.9 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.6351, allocations: 71.39 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6351, allocations: 0 / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.6352, allocations: 4 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.6353, allocations: 20.14 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.6353, allocations: 8 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.6357, allocations: 99.72 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.6357, allocations: 19.98 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001554/0.6359, allocations: 140.9 kB / 1.383 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.6359, allocations: 19.88 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.636, allocations: 12.5 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.636, allocations: 8 kB / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.636, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.636, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.6366, allocations: 0.6222 MB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6366, allocations: 0 / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.6367, allocations: 11.98 kB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6367, allocations: 0 / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.6367, allocations: 8 kB / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6367, allocations: 11.98 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6367, allocations: 3.953 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.6371, allocations: 430.8 kB / 1.384 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.6372, allocations: 89 kB / 1.385 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.6372, allocations: 12 kB / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6374, allocations: 23.94 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.6375, allocations: 23.95 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.6375, allocations: 15.98 kB / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.6376, allocations: 95.2 kB / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6376, allocations: 0 / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000345/0.6379, allocations: 67.94 kB / 1.385 GB, free: 9.668 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002006/0.6381, allocations: 124 kB / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.6387, allocations: 359.7 kB / 1.385 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6387, allocations: 0 / 1.385 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.6388, allocations: 119.9 kB / 1.385 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.6391, allocations: 19.98 kB / 1.385 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.6396, allocations: 301.4 kB / 1.386 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.6399, allocations: 0.7089 MB / 1.386 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.917e-05/0.64, allocations: 13.42 kB / 1.386 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.64, allocations: 23.44 kB / 1.386 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.64, allocations: 0 / 1.386 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of Templates: time 0.005274/0.6453, allocations: 2.491 MB / 1.389 GB, free: 5.461 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches