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.001605/0.001605, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.002025/0.002025, allocations: 169 kB / 24.28 MB, free: 276 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.9784/0.9784, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.963/1.963, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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.976e-06/2.976e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.901e-05, allocations: 4.219 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001294/0.001323, allocations: 0.6203 MB / 0.8121 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.002474, allocations: 1.155 MB / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.002517, allocations: 0 / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.002544, allocations: 4.594 kB / 0.8132 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.002608, allocations: 7.875 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.003019, allocations: 121.4 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003148, allocations: 95.8 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.003227, allocations: 4.875 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.003307, allocations: 47.97 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.003401, allocations: 37.06 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.003421, allocations: 8 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.003474, allocations: 12 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.003496, allocations: 11.98 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.003542, allocations: 21.77 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.003686, allocations: 75.78 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.003692, allocations: 0 / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003693, allocations: 0 / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.003699, allocations: 3.984 kB / 0.8137 GB, free: 15.85 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.000378/0.004077, allocations: 403.5 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004111, allocations: 8.031 kB / 0.8141 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.004161, allocations: 8.938 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.004237, allocations: 114.4 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.004258, allocations: 16.3 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.004272, allocations: 4.375 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.004359, allocations: 50.95 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.004364, allocations: 192 / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004373, allocations: 1.906 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.00438, allocations: 384 / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.004406, allocations: 11.92 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.00472, allocations: 283.8 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.00477, allocations: 36.39 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.004789, allocations: 11.75 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.004795, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.371e-05/0.004878, allocations: 65.67 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004879, allocations: 0.7188 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001588/0.005038, allocations: 69.52 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.005072, allocations: 53.28 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.00515, allocations: 165.9 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.00517, allocations: 33.7 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.005224, allocations: 138.8 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.005237, allocations: 7.953 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.005283, allocations: 35.98 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005392, allocations: 496.1 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.005461, allocations: 58.39 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.005534, allocations: 81.97 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.005619, allocations: 88.69 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00562, allocations: 0.5312 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001825/0.005803, allocations: 186.2 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.00583, allocations: 37.64 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.005835, allocations: 0 / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005846, allocations: 1 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.005894, allocations: 7.984 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.005899, allocations: 1.031 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.006008, allocations: 19.98 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.006021, allocations: 9.203 kB / 0.8161 GB, free: 13.13 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 7.366e-05/0.006095, allocations: 165.4 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.006106, allocations: 7.953 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.006128, allocations: 11.94 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00613, allocations: 1.344 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006133, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006136, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.354e-05/0.00621, allocations: 124.6 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006211, allocations: 0.875 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.00622, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006221, allocations: 2.094 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006228, allocations: 4 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.006231, allocations: 7.922 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006232, allocations: 240 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.699e-05/0.006319, allocations: 100.3 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.006326, allocations: 7.953 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.006336, allocations: 0.625 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-06/0.006346, allocations: 7.375 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.006373, allocations: 7.984 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.006376, allocations: 0 / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.006417, allocations: 131.1 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006417, allocations: 0 / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000153/0.00657, allocations: 16 kB / 0.8166 GB, free: 12.48 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.0001161/0.006686, allocations: 107.2 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.00685, allocations: 145.2 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006851, allocations: 0 / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.006874, allocations: 20.25 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.007027, allocations: 12.7 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.007267, allocations: 130.8 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.007302, allocations: 64.3 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.007318, allocations: 0 / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.007335, allocations: 13.16 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.007336, allocations: 0 / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.002936/0.01027, allocations: 1.196 MB / 0.8183 GB, free: 10.78 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.291681328089908]