Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001604/0.001604, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002456/0.002456, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.598/1.598, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.161/3.161, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 72.75 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4526, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002247/0.4549, allocations: 0.6002 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.4567, allocations: 1.118 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.4567, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.4568, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.4569, allocations: 7.922 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.4574, allocations: 118.2 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.4576, allocations: 107.8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.4578, allocations: 4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.4579, allocations: 31.98 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.458, allocations: 27.89 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.458, allocations: 8 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.4581, allocations: 27.97 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.4581, allocations: 11.94 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.4582, allocations: 23.92 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.4584, allocations: 87.78 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4584, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4584, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4585, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 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.0006093/0.4591, allocations: 377.4 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4591, allocations: 8.031 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.4592, allocations: 4.938 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.4594, allocations: 180.2 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4594, allocations: 4.375 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4594, allocations: 8.375 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4595, allocations: 42.23 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4596, allocations: 192 / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4596, allocations: 3.938 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.4596, allocations: 4 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.4596, allocations: 8 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.4602, allocations: 292.8 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.4602, allocations: 34.45 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.4603, allocations: 12.91 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4603, allocations: 3.938 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.4605, allocations: 67.38 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4605, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002138/0.4607, allocations: 73.53 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.4608, allocations: 51.41 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.4609, allocations: 109.8 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4609, allocations: 33.7 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.461, allocations: 84.14 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.461, allocations: 7.906 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.4611, allocations: 33.69 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4612, allocations: 314.8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.4613, allocations: 35.92 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.4614, allocations: 50.55 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.4615, allocations: 88.28 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.4615, allocations: 3.938 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002489/0.4618, allocations: 155.2 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.4618, allocations: 35.42 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4619, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4619, allocations: 4.062 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.4619, allocations: 4 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.462, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.4622, allocations: 27.95 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4622, allocations: 12 kB / 1.072 GB, free: 5.789 MB / 0.8262 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 9.934e-05/0.4623, allocations: 119.5 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.4623, allocations: 0 / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.4624, allocations: 15.91 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4624, allocations: 3.984 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4624, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4624, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.4625, allocations: 161.6 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4625, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.4626, allocations: 3.984 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4626, allocations: 4 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4626, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4626, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4626, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.4627, allocations: 92.97 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.4628, allocations: 77.39 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4628, allocations: 7.984 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.4628, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.4628, allocations: 7.875 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4629, allocations: 11.98 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.4629, allocations: 87.27 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4629, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002286/0.4632, allocations: 24 kB / 1.073 GB, free: 5.082 MB / 0.8262 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.0001629/0.4633, allocations: 107.8 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.4636, allocations: 131.2 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4636, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.4636, allocations: 16 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.4638, allocations: 7.938 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.4641, allocations: 138 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4644, allocations: 0.6807 MB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.4644, allocations: 0 / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.4645, allocations: 11.44 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4645, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.003786/0.4683, allocations: 1.082 MB / 1.075 GB, free: 2.859 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches