Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002601/0.002601, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.106/3.106, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.89 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001859/1.019, allocations: 0.6005 MB / 1.275 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001602/1.02, allocations: 1.123 MB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/1.02, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/1.02, allocations: 7.922 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/1.02, allocations: 3.938 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/1.021, allocations: 126 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/1.021, allocations: 79.89 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.756e-05/1.021, allocations: 8 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/1.021, allocations: 39.89 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/1.021, allocations: 35.89 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/1.021, allocations: 8 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/1.021, allocations: 27.92 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/1.021, allocations: 7.984 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/1.021, allocations: 27.92 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/1.022, allocations: 86.45 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/1.022, allocations: 0 / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/1.022, allocations: 0 / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.022, allocations: 0 / 1.276 GB, free: 2.398 MB / 0.9669 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.0005013/1.022, allocations: 385 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/1.022, allocations: 12.03 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/1.022, allocations: 4.938 kB / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.022, allocations: 172.3 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.022, allocations: 384 / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/1.022, allocations: 8.359 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/1.022, allocations: 42.25 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.022, allocations: 4.125 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/1.022, allocations: 7.875 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/1.022, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/1.022, allocations: 12 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/1.023, allocations: 288.9 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/1.023, allocations: 30.52 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/1.023, allocations: 12.91 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/1.023, allocations: 0 / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/1.023, allocations: 72.81 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/1.023, allocations: 0 / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002031/1.023, allocations: 69.64 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.023, allocations: 55.41 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.024, allocations: 105.8 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/1.024, allocations: 29.7 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/1.024, allocations: 88.12 kB / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/1.024, allocations: 7.891 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/1.024, allocations: 41.69 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.024, allocations: 314.8 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/1.024, allocations: 31.98 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/1.024, allocations: 46.55 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/1.024, allocations: 84.34 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.024, allocations: 3.938 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002809/1.024, allocations: 167.2 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.024, allocations: 33.7 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.024, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.025, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/1.025, allocations: 4 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.025, allocations: 400 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.025, allocations: 31.91 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/1.025, allocations: 7.984 kB / 1.278 GB, free: 0 / 0.9669 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.0001204/1.025, allocations: 122.1 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/1.025, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/1.025, allocations: 7.906 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.025, allocations: 4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.025, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.025, allocations: 7.922 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/1.025, allocations: 157.6 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.025, allocations: 4 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/1.025, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.025, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/1.025, allocations: 11.98 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.025, allocations: 7.938 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.025, allocations: 3.984 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/1.025, allocations: 89 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/1.025, allocations: 77.11 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/1.025, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/1.025, allocations: 11.92 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/1.025, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/1.025, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.181e-05/1.025, allocations: 87.28 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.025, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002249/1.026, allocations: 19.98 kB / 1.279 GB, free: 15.3 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0001602/1.026, allocations: 103.8 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002485/1.026, allocations: 111.3 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.026, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/1.026, allocations: 20.11 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/1.026, allocations: 15.88 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/1.027, allocations: 141.9 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.027, allocations: 0.6807 MB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.871e-05/1.027, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/1.027, allocations: 11.44 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/1.027, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.003855/1.031, allocations: 1.083 MB / 1.281 GB, free: 13.07 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.590064994990826]