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.000866/0.000866, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008551/0.0008552, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.441 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.548/2.548, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003632, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8697, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008728/0.8707, allocations: 340.7 kB / 0.9548 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.872, allocations: 1.083 MB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.872, allocations: 0 / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.8721, allocations: 0 / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.8721, allocations: 13.31 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.8726, allocations: 106.9 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.8727, allocations: 72.25 kB / 0.956 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.8728, allocations: 6.594 kB / 0.956 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.8729, allocations: 31.88 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.873, allocations: 23 kB / 0.9561 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.873, allocations: 5.688 kB / 0.9561 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.8731, allocations: 21.91 kB / 0.9561 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.8731, allocations: 5.25 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.8731, allocations: 35.42 kB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.8733, allocations: 58.31 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.8733, allocations: 0.7812 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8733, allocations: 3.938 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8733, allocations: 0 / 0.9562 GB, free: 6.336 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.000356/0.8736, allocations: 363 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8737, allocations: 9.188 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.8737, allocations: 11.42 kB / 0.9566 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.8738, allocations: 169.2 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.8739, allocations: 7.438 kB / 0.9567 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.8739, allocations: 8.594 kB / 0.9567 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.874, allocations: 34.88 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.874, allocations: 0 / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.874, allocations: 1.031 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8741, allocations: 3.984 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.8741, allocations: 17.42 kB / 0.9568 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.8745, allocations: 292.6 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.8746, allocations: 25.02 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.8746, allocations: 16.59 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.8746, allocations: 1.312 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.8748, allocations: 62.64 kB / 0.9572 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.8748, allocations: 0 / 0.9572 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.875, allocations: 74.8 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.875, allocations: 52.5 kB / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.8751, allocations: 115.2 kB / 0.9574 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8751, allocations: 27.11 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.8752, allocations: 82.7 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.8752, allocations: 10.72 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.8752, allocations: 1.438 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.8753, allocations: 320 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.8754, allocations: 32.11 kB / 0.9579 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.8754, allocations: 55.69 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.455e-05/0.8755, allocations: 58.91 kB / 0.958 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8755, allocations: 0 / 0.958 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002235/0.8758, allocations: 149 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.8758, allocations: 40.5 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.8758, allocations: 1.188 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8758, allocations: 12.89 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.8759, allocations: 2.125 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8759, allocations: 0.9688 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.8761, allocations: 37.66 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.8762, allocations: 9.703 kB / 0.9582 GB, free: 4.297 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.8762, allocations: 123.1 kB / 0.9583 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.8762, allocations: 1.469 kB / 0.9583 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.8763, allocations: 5.531 kB / 0.9583 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8763, allocations: 0 / 0.9583 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.8763, allocations: 3.953 kB / 0.9583 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8763, allocations: 1.094 kB / 0.9583 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.435e-05/0.8764, allocations: 168.5 kB / 0.9585 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8764, allocations: 0 / 0.9585 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.8764, allocations: 2.5 kB / 0.9585 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8764, allocations: 64 / 0.9585 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.8764, allocations: 9.375 kB / 0.9585 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8764, allocations: 3.984 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8764, allocations: 1.281 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.8766, allocations: 84.48 kB / 0.9586 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.8766, allocations: 79.67 kB / 0.9587 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.8766, allocations: 0 / 0.9587 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.8766, allocations: 5.125 kB / 0.9587 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.8767, allocations: 12.92 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.8767, allocations: 2.219 kB / 0.9587 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.8767, allocations: 88.73 kB / 0.9588 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8767, allocations: 0 / 0.9588 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002098/0.8769, allocations: 18.98 kB / 0.9588 GB, free: 3.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.8771, allocations: 102.2 kB / 0.9589 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.8773, allocations: 121.4 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8773, allocations: 0.9375 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.8773, allocations: 29.41 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.8776, allocations: 7.359 kB / 0.959 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.8778, allocations: 140.5 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.878, allocations: 0.6799 MB / 0.9598 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.878, allocations: 5.344 kB / 0.9598 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.878, allocations: 14.44 kB / 0.9599 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.878, allocations: 0 / 0.9599 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.003638/0.8817, allocations: 0.9742 MB / 0.9608 GB, free: 2.109 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/jenkins/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