Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001423/0.001423, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001836/0.001836, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.9948/0.9948, allocations: 177.2 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.902/1.902, allocations: 377.9 MB / 0.624 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.848e-05, allocations: 7.25 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001474/0.001503, allocations: 0.6196 MB / 0.8126 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.002686, allocations: 1.159 MB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.002741, allocations: 1.375 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.00277, allocations: 3.938 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.002845, allocations: 3.938 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.003554, allocations: 120.9 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.00368, allocations: 95.81 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.003757, allocations: 4.688 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.003844, allocations: 43.97 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.003925, allocations: 36.78 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.003945, allocations: 8 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.004002, allocations: 24.58 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.004019, allocations: 4 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.004052, allocations: 21.23 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.004179, allocations: 79.77 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004181, allocations: 0 / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004182, allocations: 1 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.004186, allocations: 0 / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003443/0.00453, allocations: 406.3 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.004567, allocations: 8.75 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.004603, allocations: 8.938 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/0.004675, allocations: 109.3 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.004691, allocations: 8.359 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.004702, allocations: 9.562 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.253e-05/0.004775, allocations: 50.95 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004781, allocations: 192 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.004787, allocations: 6.5 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004794, allocations: 384 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.00481, allocations: 7.938 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.005058, allocations: 260.4 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.005101, allocations: 34.98 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.005115, allocations: 12.59 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.005124, allocations: 3.984 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.233e-05/0.005206, allocations: 70.31 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.005208, allocations: 0 / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001408/0.005349, allocations: 69.52 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.005374, allocations: 52.06 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.005441, allocations: 165.9 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.005456, allocations: 34.41 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.005502, allocations: 130.9 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.005514, allocations: 9.484 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.005559, allocations: 43.28 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.005661, allocations: 496.1 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.00571, allocations: 53.67 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.504e-05/0.005765, allocations: 82.27 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.005827, allocations: 76.7 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005828, allocations: 0 / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.005988, allocations: 174.7 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.00602, allocations: 33.7 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.006025, allocations: 0 / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006038, allocations: 5 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.024e-05/0.006078, allocations: 11.98 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006081, allocations: 0 / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.006184, allocations: 21.52 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.0062, allocations: 4.453 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.48e-05/0.006285, allocations: 169 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.006297, allocations: 11.95 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.006321, allocations: 8.625 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.006324, allocations: 4.469 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006326, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006329, allocations: 0.7812 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.283e-05/0.006402, allocations: 101.2 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006403, allocations: 0.9062 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.006416, allocations: 0 / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006418, allocations: 0.5312 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.006423, allocations: 8 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006425, allocations: 5.359 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006425, allocations: 0 / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.21e-05/0.006508, allocations: 92.36 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.006515, allocations: 7.953 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.006523, allocations: 4.844 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-06/0.006531, allocations: 0 / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.006551, allocations: 4.781 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.006556, allocations: 7.984 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.006591, allocations: 128.5 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006591, allocations: 0 / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001421/0.006733, allocations: 20 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001153/0.006849, allocations: 107.7 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.006988, allocations: 137.3 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00699, allocations: 1.844 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-05/0.00701, allocations: 19.67 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.007163, allocations: 8 kB / 0.8173 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.007394, allocations: 135.6 kB / 0.8174 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.007426, allocations: 55.22 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.00745, allocations: 11.45 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.00752, allocations: 86.19 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.007521, allocations: 0 / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.002798/0.01032, allocations: 1.298 MB / 0.8189 GB, free: 10.12 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.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.073409594129771]