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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001951/1.082, allocations: 0.6024 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001294/1.084, allocations: 1.132 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/1.084, allocations: 1.375 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/1.084, allocations: 0 / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/1.084, allocations: 10.09 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/1.084, allocations: 127.8 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/1.084, allocations: 90.84 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/1.084, allocations: 11.97 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/1.085, allocations: 37.42 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/1.085, allocations: 30.92 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/1.085, allocations: 11.03 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/1.085, allocations: 17.38 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/1.085, allocations: 6.672 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/1.085, allocations: 30.48 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/1.085, allocations: 87.17 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.085, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/1.085, allocations: 0.7188 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.085, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 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.0004702/1.086, allocations: 308.4 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.086, allocations: 9.438 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/1.086, allocations: 4.969 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/1.086, allocations: 111 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/1.086, allocations: 3.469 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/1.086, allocations: 9.609 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.677e-05/1.086, allocations: 40.05 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.086, allocations: 192 / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.086, allocations: 9.5 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.086, allocations: 0 / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/1.086, allocations: 10.88 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/1.086, allocations: 225.5 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/1.086, allocations: 30.11 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/1.086, allocations: 12.95 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/1.086, allocations: 5.609 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/1.086, allocations: 58.62 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.086, allocations: 0 / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002013/1.087, allocations: 74.19 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/1.087, allocations: 53.2 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/1.087, allocations: 110.8 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/1.087, allocations: 31.86 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/1.087, allocations: 88.59 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/1.087, allocations: 9.875 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/1.087, allocations: 30.38 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/1.087, allocations: 313.4 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/1.087, allocations: 66.23 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/1.087, allocations: 82.42 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.675e-05/1.087, allocations: 86 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.087, allocations: 1 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002493/1.087, allocations: 190.4 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.087, allocations: 37 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.087, allocations: 2.062 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.088, allocations: 1.375 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/1.088, allocations: 2.844 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.088, allocations: 6.172 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.088, allocations: 31.83 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/1.088, allocations: 5.734 kB / 1.191 GB, free: 12.95 MB / 1.076 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 5.875e-05/1.088, allocations: 119.8 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/1.088, allocations: 11.14 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/1.088, allocations: 14.08 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.088, allocations: 0 / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.088, allocations: 1.953 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.088, allocations: 0 / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.368e-05/1.088, allocations: 108.4 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.088, allocations: 0 / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/1.088, allocations: 7.25 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.088, allocations: 0 / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.088, allocations: 6.203 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.088, allocations: 0 / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.088, allocations: 1.219 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.83e-05/1.088, allocations: 83.83 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/1.088, allocations: 11.34 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.088, allocations: 2 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/1.088, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/1.088, allocations: 3.562 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/1.088, allocations: 1.375 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.913e-05/1.088, allocations: 99.94 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.088, allocations: 0 / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000214/1.088, allocations: 19.38 kB / 1.191 GB, free: 12.49 MB / 1.076 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.0001124/1.089, allocations: 103.2 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000207/1.089, allocations: 140.5 kB / 1.191 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.089, allocations: 1.281 kB / 1.191 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/1.089, allocations: 17.05 kB / 1.191 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/1.089, allocations: 10.56 kB / 1.191 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/1.089, allocations: 126 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.146e-05/1.089, allocations: 67.64 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.07e-05/1.089, allocations: 3.547 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/1.089, allocations: 10.56 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.089, allocations: 0 / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of Templates: time 0.004339/1.094, allocations: 1.181 MB / 1.193 GB, free: 11.93 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.946311566978693]