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: 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.001432/0.001433, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001759/0.001759, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.263/2.263, allocations: 390.3 MB / 0.6653 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 72.52 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2629, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001889/0.2648, allocations: 0.6048 MB / 0.9509 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2663, allocations: 1.115 MB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2664, allocations: 0 / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.2664, allocations: 3.938 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.2665, allocations: 3.938 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.267, allocations: 130.5 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2672, allocations: 91.88 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.2673, allocations: 8 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.2674, allocations: 35.91 kB / 0.9522 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.2675, allocations: 31.91 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.2675, allocations: 8 kB / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.2676, allocations: 19.98 kB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2676, allocations: 7.984 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.2677, allocations: 31.91 kB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.2678, allocations: 75.8 kB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2678, allocations: 0 / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2678, allocations: 3.938 kB / 0.9524 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2678, allocations: 4 kB / 0.9524 GB, free: 6.73 MB / 0.7325 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.0004547/0.2683, allocations: 381.4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2684, allocations: 16.03 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.2684, allocations: 12.83 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2685, allocations: 160.4 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2686, allocations: 8.312 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2686, allocations: 8.375 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.2687, allocations: 38.25 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2687, allocations: 192 / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2687, allocations: 3.938 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2687, allocations: 0 / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.2688, allocations: 11.98 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.2692, allocations: 304.6 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.924e-05/0.2693, allocations: 34.5 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.2693, allocations: 12.92 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.2693, allocations: 0 / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.2695, allocations: 63.39 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2695, allocations: 3.938 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.2697, allocations: 61.69 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.2697, allocations: 59.41 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.2698, allocations: 109.8 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2699, allocations: 25.7 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.2699, allocations: 100 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.2699, allocations: 3.906 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.27, allocations: 33.7 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2701, allocations: 318.8 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.2702, allocations: 27.98 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.2703, allocations: 50.55 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2704, allocations: 88.2 kB / 0.9542 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2704, allocations: 7.938 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002524/0.2707, allocations: 143.3 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.2708, allocations: 39.58 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2708, allocations: 0 / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2708, allocations: 4.062 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.2708, allocations: 7.984 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2709, allocations: 7.938 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.2711, allocations: 23.97 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2711, allocations: 8.062 kB / 0.9545 GB, free: 4.328 MB / 0.7325 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.665e-05/0.2712, allocations: 123.7 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2712, allocations: 7.906 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.2712, allocations: 7.844 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2713, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2713, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2713, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2714, allocations: 169.6 kB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2714, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.2714, allocations: 4 kB / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2714, allocations: 4.234 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2714, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2714, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2715, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.2716, allocations: 92.97 kB / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.2716, allocations: 88.95 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.2716, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.2717, allocations: 4 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.2717, allocations: 8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2717, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.2718, allocations: 87.27 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.2718, allocations: 0 / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002115/0.272, allocations: 16 kB / 0.9551 GB, free: 3.625 MB / 0.7325 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.0001257/0.2721, allocations: 103.2 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.2724, allocations: 127.3 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2724, allocations: 4.125 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.2724, allocations: 12 kB / 0.9553 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.2726, allocations: 13.3 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.2729, allocations: 159.8 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2732, allocations: 0.6844 MB / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.2733, allocations: 15.44 kB / 0.9561 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.2733, allocations: 3.938 kB / 0.9561 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of Templates: time 0.002434/0.2757, allocations: 0.9195 MB / 0.957 GB, free: 1.516 MB / 0.7325 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