Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001581/0.001581, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001457/0.001457, allocations: 206.4 kB / 23 MB, free: 4.934 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.256/3.256, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [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.002103/0.002103, allocations: 70.56 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002378/0.3713, allocations: 0.6053 MB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3731, allocations: 1.132 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.3731, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.3731, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.3732, allocations: 7.922 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.3738, allocations: 122.7 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.374, allocations: 91.83 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.3741, allocations: 3.984 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3742, allocations: 43.91 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3743, allocations: 31.91 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3743, allocations: 8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.3744, allocations: 19.98 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3744, allocations: 8 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.3745, allocations: 31.89 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.3747, allocations: 83.73 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3747, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3747, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3747, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 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.0005505/0.3752, allocations: 304 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3753, allocations: 12.03 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.3753, allocations: 8.891 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3754, allocations: 106.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.3755, allocations: 8.312 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.3755, allocations: 4.375 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3756, allocations: 42.25 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3756, allocations: 192 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3756, allocations: 7.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3756, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.3757, allocations: 15.97 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.3761, allocations: 224.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.3762, allocations: 30.52 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.3762, allocations: 12.91 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3762, allocations: 11.88 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3764, allocations: 63.34 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3764, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.3766, allocations: 69.62 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3767, allocations: 55.41 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.3768, allocations: 109.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3768, allocations: 29.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.3769, allocations: 80.14 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3769, allocations: 19.89 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.377, allocations: 33.69 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3771, allocations: 310.8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3772, allocations: 65.69 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3773, allocations: 84.25 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3775, allocations: 88.2 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3775, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.3778, allocations: 180.9 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.3778, allocations: 33.69 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3778, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3778, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.3779, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3779, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.3782, allocations: 32.03 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.3782, allocations: 7.984 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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.0001431/0.3784, allocations: 114.4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.3784, allocations: 11.89 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.3784, allocations: 7.938 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3785, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3785, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.3785, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3785, allocations: 3.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.3785, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.3786, allocations: 8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001887/0.3787, allocations: 136.9 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002536/0.379, allocations: 234.7 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.95e-05/0.3791, allocations: 15.98 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.3791, allocations: 91.53 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.3791, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008301/0.38, allocations: 217.6 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007589/0.3807, allocations: 0.5695 MB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of Templates: time 0.005855/0.3866, allocations: 1.268 MB / 1.334 GB, free: 9.797 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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: 9.274897520001105]