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.001317/0.001317, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001447/0.001447, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.8982/0.8982, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.884/1.884, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] 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.234e-06/2.234e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.226e-05, allocations: 8.297 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001144/0.001167, allocations: 0.6222 MB / 0.8121 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.002298, allocations: 1.159 MB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.002346, allocations: 5.531 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.002377, allocations: 0 / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.002451, allocations: 11.88 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.002836, allocations: 117.2 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.002974, allocations: 99.73 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.003054, allocations: 4 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.003131, allocations: 44.84 kB / 0.8135 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.003212, allocations: 31.94 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.003233, allocations: 8 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.003285, allocations: 16.78 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.003304, allocations: 11.92 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.003345, allocations: 25.67 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003471, allocations: 75.78 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003473, allocations: 0 / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003474, allocations: 0 / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.003479, allocations: 4.672 kB / 0.8137 GB, free: 15.5 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.0003629/0.003842, allocations: 402.3 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.003877, allocations: 8.719 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.003926, allocations: 8.875 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.004007, allocations: 117.5 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.004027, allocations: 4.375 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.004042, allocations: 5.75 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.604e-05/0.004128, allocations: 50.95 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.004136, allocations: 192 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004145, allocations: 384 / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.004153, allocations: 6.125 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.004177, allocations: 7.922 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.004472, allocations: 283.7 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.004522, allocations: 39.05 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.004539, allocations: 8.688 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.004545, allocations: 0 / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.792e-05/0.004623, allocations: 61.64 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004624, allocations: 0 / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0004433/0.005068, allocations: 78.08 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.005097, allocations: 52.16 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.00517, allocations: 166.2 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.005186, allocations: 30.89 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.005234, allocations: 134.9 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.005246, allocations: 7.953 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.005291, allocations: 37.89 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.005399, allocations: 496.1 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.005462, allocations: 57.67 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.005527, allocations: 84.81 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/0.005604, allocations: 92.69 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005606, allocations: 0 / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001743/0.00578, allocations: 186.1 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.005807, allocations: 33.64 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005812, allocations: 0.5312 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.005825, allocations: 5.625 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.005879, allocations: 3.984 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.005889, allocations: 7.938 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.006001, allocations: 16.61 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.006014, allocations: 4 kB / 0.8161 GB, free: 12.79 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 6.997e-05/0.006084, allocations: 165.4 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.006092, allocations: 7.953 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.006113, allocations: 12.94 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.006117, allocations: 8.234 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.00612, allocations: 1.219 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006124, allocations: 3.984 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.855e-05/0.006193, allocations: 120.6 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006194, allocations: 0.8438 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.006201, allocations: 4 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006203, allocations: 2.219 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.00621, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006212, allocations: 3.938 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006213, allocations: 4 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.006295, allocations: 92.36 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.006301, allocations: 3.953 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.00631, allocations: 7.031 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.00632, allocations: 7.938 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.006344, allocations: 3.984 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.006348, allocations: 4 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.006383, allocations: 123.2 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006383, allocations: 0 / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001385/0.006522, allocations: 20 kB / 0.8167 GB, free: 12.15 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 9.654e-05/0.006618, allocations: 104.5 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.006783, allocations: 148.7 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006785, allocations: 0 / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.006806, allocations: 16.31 kB / 0.8169 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.00695, allocations: 16.92 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.007167, allocations: 134.9 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.007196, allocations: 59.2 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.007212, allocations: 5.781 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.007229, allocations: 12.5 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.007229, allocations: 0 / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.002812/0.01004, allocations: 1.294 MB / 0.8184 GB, free: 10.34 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.184321605134755]