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.001133/0.001133, allocations: 108.7 kB / 15.99 MB, free: 6.355 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.001106/0.001106, allocations: 191.7 kB / 16.91 MB, free: 6.191 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.28/2.28, allocations: 390.3 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.41 kB / 0.8127 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001796/0.2782, allocations: 0.6678 MB / 0.9504 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2795, allocations: 1.105 MB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.2795, allocations: 4 kB / 0.9515 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.2795, allocations: 3.938 kB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.2796, allocations: 7.922 kB / 0.9515 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.2801, allocations: 111.7 kB / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2802, allocations: 95.81 kB / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.2803, allocations: 8 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.2804, allocations: 35.91 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.2804, allocations: 27.91 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2805, allocations: 8 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.2806, allocations: 27.98 kB / 0.9518 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2806, allocations: 3.984 kB / 0.9518 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.2806, allocations: 31.92 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2808, allocations: 59.81 kB / 0.9519 GB, free: 7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2808, allocations: 4 kB / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2808, allocations: 4 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2808, allocations: 0 / 0.9519 GB, free: 6.992 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.0004606/0.2813, allocations: 374.9 kB / 0.9523 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2813, allocations: 12.03 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.2814, allocations: 8.844 kB / 0.9523 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2815, allocations: 164.4 kB / 0.9525 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.2815, allocations: 8.375 kB / 0.9525 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.2816, allocations: 4.375 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.2817, allocations: 46.25 kB / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2817, allocations: 4.125 kB / 0.9525 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2817, allocations: 3.938 kB / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2817, allocations: 0 / 0.9525 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.2817, allocations: 7.984 kB / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.2821, allocations: 296.8 kB / 0.9528 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.633e-05/0.2822, allocations: 34.5 kB / 0.9528 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.2822, allocations: 16.92 kB / 0.9529 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2823, allocations: 0 / 0.9529 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.2824, allocations: 63.33 kB / 0.9529 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2824, allocations: 0 / 0.9529 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000194/0.2826, allocations: 65.69 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.2827, allocations: 59.39 kB / 0.953 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.2827, allocations: 113.8 kB / 0.9532 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2828, allocations: 29.64 kB / 0.9532 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.2828, allocations: 96.03 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2829, allocations: 3.906 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.2829, allocations: 33.7 kB / 0.9533 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2831, allocations: 314.8 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.2832, allocations: 27.98 kB / 0.9536 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.2833, allocations: 50.55 kB / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.2834, allocations: 96.27 kB / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2834, allocations: 7.875 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000247/0.2836, allocations: 147.2 kB / 0.9539 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.2837, allocations: 37.7 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2837, allocations: 0 / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2837, allocations: 4 kB / 0.954 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.2838, allocations: 4.062 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2838, allocations: 7.984 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.284, allocations: 23.97 kB / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.284, allocations: 4 kB / 0.954 GB, free: 4.598 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 9.678e-05/0.2841, allocations: 117.8 kB / 0.9541 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.2841, allocations: 11.89 kB / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.2842, allocations: 3.906 kB / 0.9541 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2842, allocations: 4 kB / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2842, allocations: 0 / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2842, allocations: 0 / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2843, allocations: 169.6 kB / 0.9543 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2843, allocations: 0 / 0.9543 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.2844, allocations: 4 kB / 0.9543 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2844, allocations: 0 / 0.9543 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2844, allocations: 3.938 kB / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2844, allocations: 0 / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2844, allocations: 240 / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2845, allocations: 89.05 kB / 0.9544 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.2845, allocations: 93 kB / 0.9545 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2846, allocations: 0 / 0.9545 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.2846, allocations: 0 / 0.9545 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.2846, allocations: 4 kB / 0.9545 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.2846, allocations: 0 / 0.9545 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.2847, allocations: 87.27 kB / 0.9546 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2847, allocations: 4 kB / 0.9546 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002015/0.2849, allocations: 12 kB / 0.9546 GB, free: 3.902 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.0001437/0.285, allocations: 111.2 kB / 0.9547 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.2853, allocations: 131.3 kB / 0.9548 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2853, allocations: 0 / 0.9548 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.2853, allocations: 15.94 kB / 0.9548 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2855, allocations: 15.92 kB / 0.9548 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.2858, allocations: 174.3 kB / 0.955 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2861, allocations: 0.6844 MB / 0.9557 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.2861, allocations: 11.44 kB / 0.9557 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.2861, allocations: 0 / 0.9557 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.002362/0.2885, allocations: 0.9067 MB / 0.9566 GB, free: 1.785 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