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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00856/0.00856, allocations: 98.28 kB / 15.73 MB, free: 6.012 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.001789/0.001789, allocations: 197.3 kB / 16.67 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.88 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.346, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002157/0.3482, allocations: 0.6039 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.35, allocations: 1.114 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.694e-05/0.35, allocations: 4 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.3501, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.3501, allocations: 15.91 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.3507, allocations: 123.3 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3508, allocations: 87.77 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.3509, allocations: 8 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.351, allocations: 35.95 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3511, allocations: 31.91 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3511, allocations: 12 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3512, allocations: 19.98 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.3512, allocations: 7.984 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.3513, allocations: 31.91 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3515, allocations: 83.78 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3515, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3515, allocations: 3.938 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3515, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 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.0004479/0.3519, allocations: 385 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.352, allocations: 8.031 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.352, allocations: 8.938 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/0.3521, allocations: 176.3 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3521, allocations: 8.312 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3522, allocations: 4.375 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.3523, allocations: 38.25 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3523, allocations: 192 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3523, allocations: 7.875 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3523, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.3523, allocations: 12 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.3527, allocations: 292.9 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.808e-05/0.3528, allocations: 30.45 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.3528, allocations: 8.922 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.3528, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.353, allocations: 63.39 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.353, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000211/0.3532, allocations: 73.56 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3532, allocations: 55.41 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.3533, allocations: 105.8 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3534, allocations: 33.7 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.3534, allocations: 80.14 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3534, allocations: 15.89 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.3535, allocations: 29.7 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.3536, allocations: 318.8 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.3537, allocations: 31.98 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.3537, allocations: 46.56 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3539, allocations: 92.25 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3539, allocations: 3.938 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002627/0.3541, allocations: 159.2 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.3542, allocations: 37.69 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3542, allocations: 0 / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3542, allocations: 3.938 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.3542, allocations: 4 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3542, allocations: 0 / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3544, allocations: 27.97 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3544, allocations: 7.984 kB / 1.225 GB, free: 9.215 MB / 0.9825 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.37e-05/0.3545, allocations: 127.4 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3545, allocations: 4 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.3546, allocations: 3.906 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3546, allocations: 4 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3546, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3546, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3547, allocations: 169.5 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3547, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.3547, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3547, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3547, allocations: 12 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3547, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3547, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.3548, allocations: 93.2 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.3549, allocations: 81.06 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3549, allocations: 4 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.3549, allocations: 4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.3549, allocations: 7.922 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3549, allocations: 8 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.355, allocations: 83.28 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002149/0.3552, allocations: 16 kB / 1.225 GB, free: 8.508 MB / 0.9825 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.000162/0.3554, allocations: 111.2 kB / 1.225 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3556, allocations: 107.4 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3556, allocations: 0 / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.3556, allocations: 20.06 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.3558, allocations: 11.92 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.3561, allocations: 133.9 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3564, allocations: 0.6807 MB / 1.226 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.3564, allocations: 3.984 kB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.3564, allocations: 15.38 kB / 1.226 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3564, allocations: 0 / 1.226 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.003463/0.3599, allocations: 1.078 MB / 1.227 GB, free: 6.301 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) 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) Reference file matches