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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 387.1 MB / 399.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 180.2 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.72/1.72, allocations: 221.3 MB / 0.7872 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 89.83 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.435e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9622/1.263, allocations: 149.3 MB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.263, allocations: 73.42 kB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005711/1.269, allocations: 1.811 MB / 1.36 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.269, allocations: 0 / 1.36 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.269, allocations: 0 / 1.36 GB, free: 34.7 MB / 0.8386 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.0002844/1.269, allocations: 358.2 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.269, allocations: 11.69 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/1.269, allocations: 12.38 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/1.269, allocations: 167 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.269, allocations: 7.219 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/1.269, allocations: 6.875 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.177e-05/1.269, allocations: 39.84 kB / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.269, allocations: 3.938 kB / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.269, allocations: 0 / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/1.269, allocations: 0 / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/1.269, allocations: 11.31 kB / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/1.27, allocations: 298.4 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/1.27, allocations: 22.05 kB / 1.361 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/1.27, allocations: 11.58 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/1.27, allocations: 3.906 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.982e-05/1.27, allocations: 70.33 kB / 1.361 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.27, allocations: 4 kB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001507/1.27, allocations: 60.86 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.27, allocations: 55.34 kB / 1.361 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/1.27, allocations: 98.83 kB / 1.361 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.27, allocations: 25.7 kB / 1.361 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/1.27, allocations: 87.55 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/1.27, allocations: 3.906 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/1.27, allocations: 7.219 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.27, allocations: 325.7 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/1.27, allocations: 28.69 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/1.27, allocations: 52.77 kB / 1.362 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/1.27, allocations: 53.77 kB / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.27, allocations: 0 / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001983/1.271, allocations: 149.5 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.271, allocations: 43.88 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.271, allocations: 0 / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.271, allocations: 0 / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/1.271, allocations: 3.656 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.271, allocations: 0 / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.271, allocations: 35.19 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/1.271, allocations: 11.17 kB / 1.362 GB, free: 32.92 MB / 0.8386 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 () * 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 5.817e-05/1.271, allocations: 117.5 kB / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/1.271, allocations: 7.781 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/1.271, allocations: 8.109 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.271, allocations: 0 / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.271, allocations: 0 / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.271, allocations: 0 / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.532e-05/1.271, allocations: 167.7 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.271, allocations: 0.875 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/1.271, allocations: 7.812 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.271, allocations: 0 / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.271, allocations: 1.453 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.271, allocations: 0 / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.271, allocations: 7.953 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/1.271, allocations: 87.66 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/1.271, allocations: 78.53 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/1.271, allocations: 7.875 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/1.271, allocations: 9.531 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/1.272, allocations: 0 / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/1.272, allocations: 5.188 kB / 1.362 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.697e-05/1.272, allocations: 83.83 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.272, allocations: 3.938 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002109/1.272, allocations: 26.41 kB / 1.363 GB, free: 32.33 MB / 0.8386 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 () * 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.0001369/1.272, allocations: 111.8 kB / 1.363 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000179/1.272, allocations: 126.2 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.272, allocations: 4.125 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/1.272, allocations: 10.91 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/1.272, allocations: 12.34 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/1.272, allocations: 78.56 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/1.273, allocations: 0.6829 MB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.766e-05/1.273, allocations: 0 / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/1.273, allocations: 11.25 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.273, allocations: 4 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.003196/1.276, allocations: 0.9794 MB / 1.365 GB, free: 31.29 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches