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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_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.00546/0.00546, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00126/0.001261, allocations: 195 kB / 16.67 MB, free: 5.977 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.507/2.507, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2563, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00183/0.2582, allocations: 0.6089 MB / 1.167 GB, free: 6.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2595, allocations: 1.117 MB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.2596, allocations: 0 / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.2596, allocations: 3.938 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.2597, allocations: 11.94 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.2601, allocations: 127.5 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.2603, allocations: 87.89 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.2604, allocations: 15.97 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.2604, allocations: 35.92 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.757e-05/0.2605, allocations: 35.89 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2605, allocations: 11.94 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.301e-05/0.2606, allocations: 19.98 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2606, allocations: 7.984 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.2607, allocations: 27.92 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2608, allocations: 84 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2609, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2609, allocations: 0 / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2609, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 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.0004172/0.2613, allocations: 385 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2613, allocations: 12.03 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.2614, allocations: 30.75 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.2614, allocations: 4.938 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.2615, allocations: 164.4 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2615, allocations: 4.375 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2616, allocations: 8.359 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.2617, allocations: 50.19 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2617, allocations: 7.938 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2617, allocations: 3.984 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2617, allocations: 0 / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.2618, allocations: 4 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.2621, allocations: 300.7 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.987e-05/0.2622, allocations: 38.44 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.2622, allocations: 12.92 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2622, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2624, allocations: 59.39 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2624, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.2626, allocations: 65.69 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2626, allocations: 59.33 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.2627, allocations: 113.8 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2627, allocations: 25.7 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.2628, allocations: 100.1 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.2628, allocations: 3.953 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.2629, allocations: 29.7 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.263, allocations: 318.8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.2631, allocations: 31.97 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.2631, allocations: 46.56 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2633, allocations: 96.14 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2633, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000242/0.2635, allocations: 147.2 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2636, allocations: 43.56 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2636, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2636, allocations: 4 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.2636, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2637, allocations: 4.062 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.2638, allocations: 27.97 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2639, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 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.834e-05/0.264, allocations: 122.2 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.264, allocations: 4 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.264, allocations: 3.906 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.264, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.264, allocations: 0 / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.264, allocations: 4 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2641, allocations: 169.6 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2642, allocations: 4.062 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.2642, allocations: 7.938 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2642, allocations: 3.938 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2642, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2642, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2642, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.2643, allocations: 97.22 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.2644, allocations: 85.11 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2644, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.2644, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.2644, allocations: 4 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2644, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.2645, allocations: 91.25 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2645, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002141/0.2647, allocations: 19.94 kB / 1.171 GB, free: 1.98 MB / 0.92 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.0003857/0.2651, allocations: 0.6319 MB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.2653, allocations: 127.3 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2653, allocations: 3.938 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.2654, allocations: 15.98 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2656, allocations: 12.12 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.267, allocations: 1.387 MB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2672, allocations: 0.6807 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.2672, allocations: 4 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.2673, allocations: 7.438 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2673, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.2849, allocations: 2.022 MB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.488, allocations: 11.95 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/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