Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008745/0.0008745, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008774/0.0008774, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8705/0.8705, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.604/1.604, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.547e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001077/0.001093, allocations: 0.6063 MB / 0.9511 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002094, allocations: 1.124 MB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.00213, allocations: 4 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.002155, allocations: 7.938 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.002214, allocations: 7.922 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.002563, allocations: 116.5 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.002682, allocations: 91.83 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.002756, allocations: 0 / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.002829, allocations: 55.94 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.002903, allocations: 23.91 kB / 0.9525 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.00292, allocations: 8 kB / 0.9525 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.003031, allocations: 27.92 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.003047, allocations: 7.984 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.003085, allocations: 27.98 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003218, allocations: 103.7 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.00322, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003221, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.003224, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 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.0003184/0.003543, allocations: 309.8 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003576, allocations: 8.031 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.156e-05/0.003597, allocations: 34.69 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.003628, allocations: 4.938 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.003697, allocations: 121.7 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.003714, allocations: 8.375 kB / 0.9531 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.003727, allocations: 4.375 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.003795, allocations: 38.25 kB / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.003801, allocations: 192 / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.003808, allocations: 4.375 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.003813, allocations: 4.125 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.003848, allocations: 15.92 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.004133, allocations: 240 kB / 0.9534 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.004186, allocations: 30.56 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.004204, allocations: 12.86 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.004213, allocations: 4.062 kB / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.004316, allocations: 71.27 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004317, allocations: 0 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001456/0.004463, allocations: 61.69 kB / 0.9536 GB, free: 220 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.004491, allocations: 55.41 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.004546, allocations: 113.8 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.004573, allocations: 25.7 kB / 0.9537 GB, free: 16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.004609, allocations: 88.12 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.004621, allocations: 15.89 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.004662, allocations: 29.7 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.004852, allocations: 318.8 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.004918, allocations: 65.67 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.004982, allocations: 80.27 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.005056, allocations: 84.33 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005057, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.005222, allocations: 188.9 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.005248, allocations: 35.89 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005252, allocations: 3.938 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.005264, allocations: 8.062 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.005306, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.005313, allocations: 7.984 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.005426, allocations: 27.97 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.005438, allocations: 4 kB / 0.9547 GB, free: 14.98 MB / 0.9167 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 5.786e-05/0.005495, allocations: 114.2 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.005502, allocations: 7.938 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.005523, allocations: 8 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005525, allocations: 7.984 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.005528, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005531, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.954e-05/0.005601, allocations: 140.6 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005602, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.005611, allocations: 7.938 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005612, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.005618, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.005618, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00562, allocations: 3.938 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.204e-05/0.005692, allocations: 93.33 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.005698, allocations: 7.938 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.005709, allocations: 4 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.005717, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.005737, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.005742, allocations: 7.984 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.699e-05/0.005769, allocations: 87.27 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00577, allocations: 0 / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001422/0.005912, allocations: 23.89 kB / 0.9551 GB, free: 14.4 MB / 0.9167 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.0002549/0.006167, allocations: 0.628 MB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.006323, allocations: 149.1 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006324, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.006343, allocations: 11.94 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006474, allocations: 11.98 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009423/0.007416, allocations: 1.508 MB / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.007452, allocations: 67.25 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.614e-05/0.007468, allocations: 4 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.007495, allocations: 20.62 kB / 0.9575 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.007495, allocations: 0 / 0.9575 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.02272, allocations: 2.766 MB / 0.9602 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.841, allocations: 6.109 kB / 0.9602 GB, free: 9.207 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booToRea.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv. Warning: Get data of variable booToRea.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.783081706613302]