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.008089/0.008089, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001752/0.001752, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.65/2.65, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001719, allocations: 68.11 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252/1.254, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001982/1.256, allocations: 0.6203 MB / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001709/1.258, allocations: 1.111 MB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/1.258, allocations: 0 / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/1.258, allocations: 3.938 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/1.258, allocations: 7.922 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/1.259, allocations: 123 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/1.259, allocations: 99.81 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/1.259, allocations: 8 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/1.259, allocations: 31.97 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/1.259, allocations: 31.89 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.259, allocations: 8 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/1.259, allocations: 31.98 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/1.259, allocations: 3.938 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/1.259, allocations: 43.83 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/1.26, allocations: 83.78 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.26, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.645e-06/1.26, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.26, allocations: 0 / 1.169 GB, free: 1.621 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.000623/1.26, allocations: 381.5 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/1.26, allocations: 8.031 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/1.26, allocations: 4.938 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/1.261, allocations: 172.4 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/1.261, allocations: 384 / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.261, allocations: 8.375 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/1.261, allocations: 38.25 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.261, allocations: 192 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/1.261, allocations: 3.938 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/1.261, allocations: 0 / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/1.261, allocations: 15.92 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/1.261, allocations: 296.8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/1.261, allocations: 34.5 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/1.261, allocations: 8.922 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/1.261, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/1.262, allocations: 67.33 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/1.262, allocations: 0 / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/1.262, allocations: 73.69 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.262, allocations: 59.33 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/1.262, allocations: 105.8 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.262, allocations: 33.69 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/1.262, allocations: 84.14 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/1.262, allocations: 11.94 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/1.262, allocations: 29.7 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.262, allocations: 314.8 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/1.262, allocations: 39.91 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/1.263, allocations: 50.56 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/1.263, allocations: 80.27 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.263, allocations: 3.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002548/1.263, allocations: 151.2 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/1.263, allocations: 45.7 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.263, allocations: 3.984 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.263, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/1.263, allocations: 7.938 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.263, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/1.263, allocations: 27.91 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/1.263, allocations: 4 kB / 1.171 GB, free: 15.23 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 0.0001117/1.264, allocations: 125.8 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/1.264, allocations: 3.984 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/1.264, allocations: 3.906 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.264, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.264, allocations: 4 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.264, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/1.264, allocations: 165.6 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.264, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/1.264, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.264, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/1.264, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.264, allocations: 12.06 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.264, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.264, allocations: 92.94 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/1.264, allocations: 81.11 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/1.264, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/1.264, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/1.264, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/1.264, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.979e-05/1.264, allocations: 95.66 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.264, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000206/1.264, allocations: 16 kB / 1.171 GB, free: 14.54 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.000163/1.265, allocations: 99.23 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002423/1.265, allocations: 131.5 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.265, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/1.265, allocations: 16 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/1.265, allocations: 20.05 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/1.265, allocations: 122 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/1.266, allocations: 0.6845 MB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.228e-05/1.266, allocations: 3.984 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/1.266, allocations: 11.44 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 9.31e-07/1.266, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.003737/1.269, allocations: 1.08 MB / 1.173 GB, free: 12.32 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/jenkins/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