Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005734/0.005735, allocations: 170.4 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004629, allocations: 12.19 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.7561, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0009496/0.7571, allocations: 348.3 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.7586, allocations: 1.117 MB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.7586, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.7587, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.7588, allocations: 7.922 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.7592, allocations: 103.9 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.7594, allocations: 87.77 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.7595, allocations: 11.92 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.7596, allocations: 23.98 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.7597, allocations: 27.89 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.7597, allocations: 8 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.7598, allocations: 11.98 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.7598, allocations: 8 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.7599, allocations: 53.55 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.76, allocations: 71.84 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.76, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7601, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.7601, allocations: 3.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 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.0004475/0.7605, allocations: 371.1 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7606, allocations: 8.031 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.7606, allocations: 12.84 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.7608, allocations: 172.3 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.7608, allocations: 4.375 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.7608, allocations: 4.375 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.761, allocations: 42.25 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.761, allocations: 192 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.761, allocations: 7.922 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.761, allocations: 4 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.7611, allocations: 7.984 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.7615, allocations: 288.9 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.7616, allocations: 34.44 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.7616, allocations: 12.92 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.7616, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.7617, allocations: 59.39 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.7618, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.762, allocations: 77.53 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.762, allocations: 51.41 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.7621, allocations: 106.1 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.7622, allocations: 33.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.7622, allocations: 92.12 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.7623, allocations: 3.906 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.7623, allocations: 17.72 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7624, allocations: 314.8 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.7625, allocations: 31.98 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.7626, allocations: 58.62 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.7627, allocations: 88.2 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7627, allocations: 3.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002467/0.763, allocations: 151.2 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.763, allocations: 37.69 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7631, allocations: 3.938 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7631, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.7631, allocations: 7.938 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7631, allocations: 4.062 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.7634, allocations: 43.91 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.7634, allocations: 7.984 kB / 1.027 GB, free: 11.66 MB / 0.7794 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 0.0001002/0.7635, allocations: 123.8 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.7635, allocations: 11.91 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.7636, allocations: 3.906 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7636, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7636, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7636, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.7637, allocations: 165.6 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7637, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.7638, allocations: 8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7638, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.7638, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7638, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7638, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.7639, allocations: 85.05 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.764, allocations: 85.02 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.764, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.764, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.764, allocations: 12.2 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.764, allocations: 8.062 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.7641, allocations: 87.27 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7641, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000206/0.7643, allocations: 20 kB / 1.028 GB, free: 10.96 MB / 0.7794 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.0001376/0.7644, allocations: 103.2 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.7647, allocations: 127.4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7647, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.7647, allocations: 15.94 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.7649, allocations: 16.05 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.7652, allocations: 138.6 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.7655, allocations: 0.6829 MB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.7655, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.7655, allocations: 7.438 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7655, allocations: 0 / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of Templates: time 0.003359/0.7689, allocations: 1.034 MB / 1.03 GB, free: 8.781 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches