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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001527/0.001527, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.002071/0.002071, allocations: 187 kB / 17.34 MB, free: 5.723 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8142, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001773/0.816, allocations: 0.62 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.8173, allocations: 1.111 MB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.8173, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.8174, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.8174, allocations: 5.5 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.8179, allocations: 132.8 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.8181, allocations: 95.44 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.8182, allocations: 9.359 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.8183, allocations: 34.44 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8184, allocations: 34.81 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.8184, allocations: 12.69 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.8185, allocations: 17.22 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.8185, allocations: 7.609 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.8186, allocations: 30.91 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.8187, allocations: 87.12 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8187, allocations: 0.9375 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8188, allocations: 0 / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.8188, allocations: 0 / 1.091 GB, free: 4.121 MB / 0.8575 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.000374/0.8191, allocations: 381.4 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.8192, allocations: 9.875 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.8192, allocations: 6 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.345e-05/0.8193, allocations: 171.1 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.8193, allocations: 3.797 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.8194, allocations: 4.844 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.8195, allocations: 39.39 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8195, allocations: 1.188 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.8195, allocations: 4.688 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8195, allocations: 5.344 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.8195, allocations: 10.05 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.8199, allocations: 292.2 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.8199, allocations: 30.19 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.82, allocations: 17.94 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.82, allocations: 0 / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.8201, allocations: 67.94 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.8202, allocations: 0 / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.8204, allocations: 73.31 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.8204, allocations: 52.38 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.8205, allocations: 114.4 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.8205, allocations: 28.08 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.8205, allocations: 83.7 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.8205, allocations: 14.72 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.8206, allocations: 30 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.8206, allocations: 313.6 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.8207, allocations: 33.09 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.8208, allocations: 50.77 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/0.8209, allocations: 93.94 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8209, allocations: 3.938 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002417/0.8212, allocations: 148.8 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.8212, allocations: 35.83 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8212, allocations: 0 / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8212, allocations: 2.078 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.8213, allocations: 2.844 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8213, allocations: 1.578 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.8215, allocations: 40.02 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.8215, allocations: 6.547 kB / 1.093 GB, free: 2.133 MB / 0.8575 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 7.209e-05/0.8216, allocations: 124.4 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.8216, allocations: 1.594 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.8217, allocations: 5.469 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.8217, allocations: 1.5 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8217, allocations: 0.9688 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8217, allocations: 0 / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.8218, allocations: 167.9 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.8218, allocations: 4 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.8218, allocations: 2.891 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8218, allocations: 1.312 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.8219, allocations: 1.516 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8219, allocations: 0 / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8219, allocations: 0.7812 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.822, allocations: 95.53 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.822, allocations: 78.67 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.822, allocations: 5.531 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.8221, allocations: 0.75 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.8221, allocations: 3.656 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.8221, allocations: 9.531 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.8221, allocations: 83.08 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8221, allocations: 0.7812 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000216/0.8224, allocations: 19.86 kB / 1.093 GB, free: 1.523 MB / 0.8575 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.0001245/0.8225, allocations: 104.5 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.8227, allocations: 130.7 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8227, allocations: 0 / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.8228, allocations: 16.39 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.823, allocations: 10.11 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.8233, allocations: 151.7 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.8234, allocations: 0.6836 MB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.8234, allocations: 14.22 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.8234, allocations: 0 / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of Templates: time 0.002906/0.8263, allocations: 0.9321 MB / 1.095 GB, free: 400 kB / 0.8575 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/jenkins1/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