Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001652/0.001652, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002033/0.002033, allocations: 216 kB / 23 MB, free: 4.566 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.8 MB / 0.7714 GB, free: 4.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002082/0.002082, allocations: 66.77 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3153, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001918/0.3172, allocations: 0.6112 MB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3187, allocations: 1.153 MB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.3188, allocations: 0 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.3188, allocations: 3.938 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.3189, allocations: 11.92 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.3193, allocations: 122.7 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3195, allocations: 87.89 kB / 1.287 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.3196, allocations: 4 kB / 1.287 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.3197, allocations: 43.89 kB / 1.287 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3198, allocations: 23.97 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3198, allocations: 8 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.3199, allocations: 27.92 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.3199, allocations: 3.938 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.32, allocations: 35.89 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.3201, allocations: 91.73 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3201, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3201, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.3201, allocations: 7.922 kB / 1.287 GB, free: 9.043 MB / 0.9825 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.0004787/0.3206, allocations: 301.5 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3206, allocations: 8.031 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.3207, allocations: 8.891 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3208, allocations: 110.5 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3208, allocations: 4.375 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3208, allocations: 8.375 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.321, allocations: 42.23 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.321, allocations: 192 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.321, allocations: 3.938 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.321, allocations: 3.938 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.321, allocations: 15.98 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.3214, allocations: 256 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.3215, allocations: 34.5 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.3215, allocations: 12.92 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.3215, allocations: 0 / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.3217, allocations: 67.28 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3217, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.3219, allocations: 65.69 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3219, allocations: 55.34 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.322, allocations: 113.8 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.322, allocations: 29.7 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3221, allocations: 80.14 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3221, allocations: 19.89 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.3222, allocations: 33.64 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3223, allocations: 310.8 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.3224, allocations: 31.98 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-05/0.3225, allocations: 62.53 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3226, allocations: 80.27 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3226, allocations: 3.938 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002595/0.3229, allocations: 147.3 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.3229, allocations: 37.64 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3229, allocations: 0 / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3229, allocations: 0 / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.323, allocations: 8.062 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.323, allocations: 3.984 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3232, allocations: 31.92 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3232, allocations: 8 kB / 1.289 GB, free: 6.855 MB / 0.9825 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 9.471e-05/0.3233, allocations: 121.7 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.3233, allocations: 64 / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.3233, allocations: 12 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3233, allocations: 7.984 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3233, allocations: 3.938 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3233, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3235, allocations: 136.7 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3235, allocations: 0 / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.3235, allocations: 3.984 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3235, allocations: 4 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3235, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3235, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3235, allocations: 3.938 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.3236, allocations: 89.25 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.3236, allocations: 4 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.3236, allocations: 4.031 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.3237, allocations: 7.922 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3237, allocations: 4 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3237, allocations: 4 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.3238, allocations: 87.64 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3238, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000205/0.324, allocations: 24 kB / 1.289 GB, free: 6.273 MB / 0.9825 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.0001226/0.3241, allocations: 95.25 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3243, allocations: 115.3 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3243, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.3244, allocations: 15.98 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.3245, allocations: 7.938 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.3248, allocations: 159.9 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3252, allocations: 0.6807 MB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.3252, allocations: 11.44 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3252, allocations: 0 / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of Templates: time 0.002623/0.3278, allocations: 0.9373 MB / 1.291 GB, free: 4.191 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.958528435992775]