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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_10_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_10_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.001637/0.001637, allocations: 103.9 kB / 16.41 MB, free: 6.508 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.001888/0.001889, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.48/2.48, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8489, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002145/0.8511, allocations: 0.6207 MB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.8527, allocations: 1.115 MB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.8528, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.8529, allocations: 3.938 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.8529, allocations: 11.92 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.8535, allocations: 118.7 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.8537, allocations: 91.89 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.8538, allocations: 11.98 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.8539, allocations: 39.91 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.854, allocations: 31.89 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.854, allocations: 8 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.8541, allocations: 27.98 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.8541, allocations: 3.984 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.8542, allocations: 31.86 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.8543, allocations: 79.78 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8544, allocations: 8 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8544, allocations: 0 / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.8544, allocations: 4 kB / 1.169 GB, free: 1.652 MB / 0.8887 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.0004835/0.8549, allocations: 376.9 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8549, allocations: 8.031 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.855, allocations: 4.938 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.8551, allocations: 168.3 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.8551, allocations: 8.375 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.8552, allocations: 4.375 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.8553, allocations: 42.25 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8553, allocations: 192 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8553, allocations: 7.938 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8553, allocations: 0 / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.8554, allocations: 7.938 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.8558, allocations: 294.7 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.8559, allocations: 26.52 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.8559, allocations: 16.91 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.8559, allocations: 4 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.8561, allocations: 63.28 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.8561, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002064/0.8563, allocations: 73.58 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.8564, allocations: 55.41 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.8565, allocations: 105.8 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.8565, allocations: 25.7 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.8566, allocations: 96.12 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.8566, allocations: 7.906 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.8566, allocations: 33.69 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8568, allocations: 314.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.8569, allocations: 35.92 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.857, allocations: 50.55 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.8571, allocations: 84.28 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8571, allocations: 3.938 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002648/0.8574, allocations: 155.4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.8574, allocations: 33.7 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8575, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.8575, allocations: 4.031 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.8575, allocations: 3.938 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8576, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.8578, allocations: 35.91 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.8578, allocations: 7.984 kB / 1.171 GB, free: 15.27 MB / 0.9044 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.375e-05/0.8579, allocations: 117.8 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.8579, allocations: 4 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.858, allocations: 3.906 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.858, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.858, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.858, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8581, allocations: 173.6 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.8581, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.8582, allocations: 4 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8582, allocations: 0 / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.8582, allocations: 3.984 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8582, allocations: 0 / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8582, allocations: 0 / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.8583, allocations: 92.97 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.8584, allocations: 85.11 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.8584, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.8584, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.8584, allocations: 7.984 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.8584, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.8585, allocations: 87.67 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8585, allocations: 3.938 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002131/0.8587, allocations: 19.98 kB / 1.172 GB, free: 14.57 MB / 0.9044 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.0001443/0.8589, allocations: 103.2 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.8591, allocations: 127.3 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8591, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.8592, allocations: 15.98 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.8594, allocations: 16.17 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.8597, allocations: 159.6 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.86, allocations: 0.6808 MB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.86, allocations: 11.44 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8601, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.002715/0.8628, allocations: 0.9333 MB / 1.174 GB, free: 12.46 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/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