Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, 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.001153/0.001153, allocations: 195.2 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 63.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7587, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001797/0.7606, allocations: 0.6019 MB / 0.9503 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.7618, allocations: 1.118 MB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.7618, allocations: 0 / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.7619, allocations: 0 / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.7619, allocations: 13.3 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.7623, allocations: 116 kB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.7625, allocations: 98.27 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.7626, allocations: 3.781 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.389e-05/0.7626, allocations: 43.52 kB / 0.9517 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.7627, allocations: 27.78 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.7628, allocations: 12.09 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.7628, allocations: 21.45 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.7629, allocations: 1.812 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.7629, allocations: 30.3 kB / 0.9518 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.763, allocations: 83.94 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7631, allocations: 0 / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7631, allocations: 0 / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7631, allocations: 1.438 kB / 0.9518 GB, free: 7.547 MB / 0.7169 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.0003967/0.7635, allocations: 382.6 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7635, allocations: 9.156 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.44e-05/0.7635, allocations: 36.22 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.7636, allocations: 7.562 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.964e-05/0.7637, allocations: 170.8 kB / 0.9524 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.7637, allocations: 6.875 kB / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.7637, allocations: 14 kB / 0.9524 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.7638, allocations: 35.72 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.7638, allocations: 3.938 kB / 0.9525 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.7638, allocations: 4 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.7638, allocations: 1.062 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.7639, allocations: 13.34 kB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.7642, allocations: 291.8 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.172e-05/0.7642, allocations: 32.88 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.7643, allocations: 13.02 kB / 0.9528 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.7643, allocations: 0 / 0.9528 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.7644, allocations: 67.11 kB / 0.9529 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.7644, allocations: 1.562 kB / 0.9529 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.7646, allocations: 70.38 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.7646, allocations: 56.75 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.7647, allocations: 111.3 kB / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.7647, allocations: 27.33 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.7648, allocations: 91.53 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.7648, allocations: 9.219 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.7648, allocations: 32.92 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.7649, allocations: 317.5 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.765, allocations: 31.91 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.7651, allocations: 48.75 kB / 0.9536 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.417e-05/0.7652, allocations: 88.95 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7652, allocations: 5.156 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002207/0.7654, allocations: 144.2 kB / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.7654, allocations: 37.86 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7654, allocations: 3.984 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7655, allocations: 2.406 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.7655, allocations: 1.219 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7655, allocations: 1.312 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.7657, allocations: 28.53 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.7658, allocations: 9.156 kB / 0.9539 GB, free: 5.398 MB / 0.7169 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.349e-05/0.7658, allocations: 126.1 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.7658, allocations: 6.844 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.7659, allocations: 3.906 kB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7659, allocations: 5.375 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7659, allocations: 0 / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7659, allocations: 1.438 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.05e-05/0.766, allocations: 171.9 kB / 0.9542 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.766, allocations: 4.062 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.766, allocations: 6.656 kB / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.766, allocations: 0 / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.766, allocations: 1.562 kB / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.766, allocations: 0 / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.766, allocations: 0 / 0.9543 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.141e-05/0.7661, allocations: 86.08 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.7661, allocations: 85.95 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.7662, allocations: 5.188 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.7662, allocations: 5.188 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.7662, allocations: 1.031 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.7662, allocations: 6.422 kB / 0.9544 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.7662, allocations: 84.84 kB / 0.9545 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7662, allocations: 3.938 kB / 0.9545 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002097/0.7665, allocations: 15.44 kB / 0.9545 GB, free: 4.754 MB / 0.7169 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.0002987/0.7668, allocations: 0.6247 MB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.767, allocations: 130.5 kB / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.767, allocations: 0 / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.767, allocations: 17.67 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.7672, allocations: 5.719 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.7684, allocations: 1.389 MB / 0.9567 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.7685, allocations: 0.6875 MB / 0.9573 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.7686, allocations: 2.375 kB / 0.9573 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.7686, allocations: 16.97 kB / 0.9573 GB, free: 2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7686, allocations: 1.406 kB / 0.9573 GB, free: 2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.7871, allocations: 1.987 MB / 0.9593 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/8.368, allocations: 9.125 kB / 0.9593 GB, free: 0.9219 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches