Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001415/0.001415, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001837/0.001837, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.598/1.598, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.21/3.21, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.61 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4383, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.003211/0.4416, allocations: 0.6632 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.4437, allocations: 1.112 MB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.4438, allocations: 4 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.4439, allocations: 3.938 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.444, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.4448, allocations: 115.4 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.445, allocations: 95.83 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4451, allocations: 11.97 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4453, allocations: 39.97 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.4454, allocations: 23.91 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.4454, allocations: 8 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.4455, allocations: 19.98 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.4455, allocations: 11.94 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.4456, allocations: 31.89 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.4458, allocations: 87.78 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4458, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4459, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4459, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 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.0005954/0.4465, allocations: 381.4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4465, allocations: 8.031 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.4466, allocations: 4.938 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4468, allocations: 168.2 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.4468, allocations: 4.375 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.4468, allocations: 12.3 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.447, allocations: 38.27 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.447, allocations: 192 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.447, allocations: 7.922 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.447, allocations: 0 / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.4471, allocations: 12 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.4477, allocations: 292.8 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.4478, allocations: 34.45 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.4478, allocations: 8.922 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.4478, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.4481, allocations: 67.39 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4481, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003161/0.4484, allocations: 69.53 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.4485, allocations: 59.39 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4486, allocations: 109.8 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.4487, allocations: 29.7 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.4488, allocations: 84.14 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.4488, allocations: 11.91 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4489, allocations: 37.7 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4491, allocations: 318.8 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4493, allocations: 31.98 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.4494, allocations: 46.55 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4495, allocations: 88.2 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4495, allocations: 7.938 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003157/0.4499, allocations: 151.2 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.4499, allocations: 39.56 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4499, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.45, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.45, allocations: 64 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4501, allocations: 8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.4503, allocations: 28.03 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.4503, allocations: 11.98 kB / 1.072 GB, free: 6.074 MB / 0.8262 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 0.0001175/0.4505, allocations: 113.8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.4505, allocations: 4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.4505, allocations: 7.906 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4505, allocations: 3.938 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4506, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4506, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4507, allocations: 169.5 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4508, allocations: 240 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.4508, allocations: 8 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4508, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4508, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4508, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4508, allocations: 3.984 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.451, allocations: 96.95 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.4511, allocations: 77.11 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4511, allocations: 0 / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.4511, allocations: 4 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4511, allocations: 7.984 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4512, allocations: 0 / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.4512, allocations: 91.22 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4512, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002364/0.4515, allocations: 12 kB / 1.073 GB, free: 5.383 MB / 0.8262 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.0002176/0.4517, allocations: 111.2 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.452, allocations: 127.4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.452, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.4521, allocations: 15.94 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.4523, allocations: 11.92 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.4527, allocations: 141.9 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.453, allocations: 0.6847 MB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.4531, allocations: 3.984 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.4531, allocations: 11.44 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4531, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of Templates: time 0.003884/0.457, allocations: 1.068 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches