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.0008494/0.0008494, 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.001045/0.001045, allocations: 165.9 kB / 22.45 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.9098/0.9098, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.649/1.649, allocations: 359 MB / 0.6037 GB, free: 11.11 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 3.015e-06/3.015e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.498e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001386/0.001411, allocations: 0.6013 MB / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.002587, allocations: 1.124 MB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.002627, allocations: 0 / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.002656, allocations: 11.92 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.002719, allocations: 8 kB / 0.9522 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.003103, allocations: 127.5 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003231, allocations: 87.88 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.003321, allocations: 4 kB / 0.9524 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.003403, allocations: 47.91 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.003484, allocations: 31.94 kB / 0.9525 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003503, allocations: 8 kB / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.09e-05/0.003553, allocations: 23.98 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.003573, allocations: 7.938 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.003613, allocations: 23.97 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.00376, allocations: 99.77 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.003763, allocations: 3.938 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.593e-06/0.003764, allocations: 0 / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.003769, allocations: 0 / 0.9526 GB, free: 1.312 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.0003959/0.004165, allocations: 307.9 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.004206, allocations: 12.03 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.004233, allocations: 38.67 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.004269, allocations: 4.938 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.004348, allocations: 109.8 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.00437, allocations: 4.375 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.004385, allocations: 8.375 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.004462, allocations: 34.25 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004468, allocations: 192 / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.004478, allocations: 8.359 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004484, allocations: 4.125 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.004518, allocations: 11.94 kB / 0.9531 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.004854, allocations: 255.9 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.004909, allocations: 18.58 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.00493, allocations: 20.91 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.00494, allocations: 0 / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.005114, allocations: 71.27 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.005116, allocations: 0 / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0003386/0.005454, allocations: 69.69 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.005492, allocations: 51.41 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.005564, allocations: 113.8 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.005594, allocations: 25.7 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.005641, allocations: 92.12 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.005656, allocations: 7.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.005702, allocations: 33.7 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.005787, allocations: 318.8 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.005863, allocations: 57.69 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.005935, allocations: 88.19 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.006023, allocations: 84.27 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.006026, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002026/0.006228, allocations: 184.9 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.006266, allocations: 41.69 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.006273, allocations: 4.062 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.006288, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.00635, allocations: 7.938 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.006356, allocations: 3.938 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.006491, allocations: 23.97 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.006507, allocations: 11.98 kB / 0.9547 GB, free: 14.97 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 7.353e-05/0.006581, allocations: 114.2 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.00659, allocations: 3.938 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.006616, allocations: 12 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.006619, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.006624, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.006628, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.997e-05/0.006708, allocations: 136.7 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.00671, allocations: 3.984 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.006723, allocations: 7.938 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006726, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006731, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006732, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.006734, allocations: 3.984 kB / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.818e-05/0.006822, allocations: 93.02 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.006831, allocations: 7.922 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006842, allocations: 4.062 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.006853, allocations: 4 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.006875, allocations: 288 / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.00688, allocations: 4 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.006909, 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.006909, allocations: 0 / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001431/0.007052, allocations: 23.94 kB / 0.9551 GB, free: 14.39 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.0002911/0.007343, allocations: 0.628 MB / 0.9557 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.007513, allocations: 145.1 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007515, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.007537, allocations: 15.94 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.007701, allocations: 6.5 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.009095, allocations: 1.524 MB / 0.9574 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.009134, allocations: 67.25 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.009159, allocations: 12.11 kB / 0.9575 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.009193, allocations: 12.5 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.009194, allocations: 0 / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.02698, allocations: 2.761 MB / 0.9602 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.783, allocations: 6.25 kB / 0.9602 GB, free: 9.195 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.709592866711318]