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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_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_9_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.001054/0.001054, allocations: 97.78 kB / 16.02 MB, free: 76 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.00157/0.00157, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.602/1.602, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7827, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007871/0.7836, allocations: 344.3 kB / 0.9561 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.785, allocations: 1.104 MB / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.785, allocations: 4 kB / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.785, allocations: 0 / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.7851, allocations: 5.344 kB / 0.9571 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.7856, allocations: 113.8 kB / 0.9572 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.7857, allocations: 79.94 kB / 0.9573 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.7858, allocations: 7.312 kB / 0.9573 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.7859, allocations: 28.11 kB / 0.9574 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.786, allocations: 36.11 kB / 0.9574 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.786, allocations: 3.75 kB / 0.9574 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.7861, allocations: 18.73 kB / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.7861, allocations: 9.047 kB / 0.9574 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.7861, allocations: 48 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.7863, allocations: 57.77 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7863, allocations: 3.938 kB / 0.9575 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7863, allocations: 0.9688 kB / 0.9575 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7863, allocations: 0 / 0.9575 GB, free: 6.289 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.0003277/0.7866, allocations: 362 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7867, allocations: 17.36 kB / 0.9579 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.7867, allocations: 8.969 kB / 0.9579 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.7868, allocations: 162.7 kB / 0.9581 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.7868, allocations: 3.5 kB / 0.9581 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.7868, allocations: 8.906 kB / 0.9581 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.7869, allocations: 39.59 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.787, allocations: 192 / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.787, allocations: 4.938 kB / 0.9581 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.787, allocations: 1.125 kB / 0.9581 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.787, allocations: 16.73 kB / 0.9581 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.7873, allocations: 288.3 kB / 0.9584 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.257e-05/0.7874, allocations: 29.27 kB / 0.9584 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.7874, allocations: 16.28 kB / 0.9584 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.7875, allocations: 1.062 kB / 0.9584 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.7876, allocations: 67.05 kB / 0.9585 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.7876, allocations: 0 / 0.9585 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002215/0.7878, allocations: 67.03 kB / 0.9586 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7879, allocations: 52.5 kB / 0.9586 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.788, allocations: 114.9 kB / 0.9587 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.788, allocations: 27.98 kB / 0.9588 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.788, allocations: 87.45 kB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.7881, allocations: 9.109 kB / 0.9588 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.7881, allocations: 14.19 kB / 0.9589 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.7882, allocations: 322.8 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.7883, allocations: 25.48 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.7884, allocations: 56.86 kB / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.7885, allocations: 86.22 kB / 0.9593 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7885, allocations: 3.938 kB / 0.9593 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003034/0.7888, allocations: 157.1 kB / 0.9595 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.7889, allocations: 37.7 kB / 0.9595 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7889, allocations: 8.984 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7889, allocations: 1.031 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.789, allocations: 11.14 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.789, allocations: 1.125 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.7893, allocations: 41.34 kB / 0.9596 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.7893, allocations: 5.219 kB / 0.9596 GB, free: 4.195 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 8.727e-05/0.7894, allocations: 123.1 kB / 0.9597 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.7894, allocations: 5.281 kB / 0.9597 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.7895, allocations: 9.281 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.7895, allocations: 0 / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7895, allocations: 1.344 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7895, allocations: 4 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.7896, allocations: 164 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7896, allocations: 1.219 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.7897, allocations: 1.219 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7897, allocations: 1.25 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.7897, allocations: 0 / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7897, allocations: 5.125 kB / 0.9599 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7897, allocations: 0 / 0.9599 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.7898, allocations: 93.92 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.7899, allocations: 82.23 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.7899, allocations: 1.219 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.7899, allocations: 1.062 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.79, allocations: 1.125 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.79, allocations: 6.328 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.79, allocations: 83.94 kB / 0.9601 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.79, allocations: 1.156 kB / 0.9601 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002369/0.7903, allocations: 23.53 kB / 0.9602 GB, free: 3.562 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.0001715/0.7904, allocations: 105 kB / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.7907, allocations: 126.3 kB / 0.9604 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7907, allocations: 0 / 0.9604 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.7907, allocations: 13.97 kB / 0.9604 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.791, allocations: 18.7 kB / 0.9604 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.7914, allocations: 167 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.7915, allocations: 0.683 MB / 0.9612 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.7915, allocations: 9.125 kB / 0.9613 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.7915, allocations: 1.562 kB / 0.9613 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.002917/0.7945, allocations: 0.9179 MB / 0.9622 GB, free: 2.012 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/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