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.001976/0.001976, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002259/0.002259, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.563/1.563, allocations: 225.6 MB / 249.4 MB, free: 3.328 MB / 190.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 2.993/2.993, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 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.002151/0.002151, allocations: 67.89 kB / 1.107 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306/1.308, allocations: 168.7 MB / 1.272 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001927/1.31, allocations: 0.6038 MB / 1.273 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001411/1.312, allocations: 1.122 MB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/1.312, allocations: 0.7812 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/1.312, allocations: 4.641 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/1.312, allocations: 11.12 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/1.312, allocations: 123.6 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/1.312, allocations: 83.86 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/1.312, allocations: 12.53 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/1.313, allocations: 37.72 kB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/1.313, allocations: 35.11 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/1.313, allocations: 7.875 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/1.313, allocations: 28.48 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/1.313, allocations: 5.875 kB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/1.313, allocations: 29.3 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/1.313, allocations: 83.16 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.313, allocations: 1.062 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.313, allocations: 0 / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.313, allocations: 0 / 1.274 GB, free: 6.574 MB / 0.9981 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.000423/1.313, allocations: 384.8 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.313, allocations: 13.75 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/1.313, allocations: 5.188 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.009e-05/1.314, allocations: 168 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.314, allocations: 7.094 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/1.314, allocations: 6 kB / 1.275 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.862e-05/1.314, allocations: 47.38 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.314, allocations: 1.156 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.314, allocations: 3.938 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.314, allocations: 0.5312 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/1.314, allocations: 15.53 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/1.314, allocations: 285.1 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/1.314, allocations: 31.59 kB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/1.314, allocations: 11.77 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/1.314, allocations: 0 / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/1.314, allocations: 67.08 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/1.314, allocations: 0 / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001935/1.315, allocations: 73.77 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.315, allocations: 59.94 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/1.315, allocations: 107.4 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/1.315, allocations: 27.64 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/1.315, allocations: 89.11 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/1.315, allocations: 5.859 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/1.315, allocations: 38.42 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/1.315, allocations: 313.3 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/1.315, allocations: 32.86 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/1.315, allocations: 47.41 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/1.315, allocations: 89.97 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.315, allocations: 8.688 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002303/1.315, allocations: 153 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.315, allocations: 36.8 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.315, allocations: 0.875 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.315, allocations: 0.7812 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.715e-05/1.315, allocations: 3.062 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.315, allocations: 0.6562 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/1.316, allocations: 30.41 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.316, allocations: 12.66 kB / 1.276 GB, free: 4.578 MB / 0.9981 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 6.581e-05/1.316, allocations: 116.1 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/1.316, allocations: 1.5 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/1.316, allocations: 17.8 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.316, allocations: 1.172 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.316, allocations: 0.75 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.316, allocations: 0.6094 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.767e-05/1.316, allocations: 164 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.316, allocations: 0 / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.777e-05/1.316, allocations: 12.66 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/1.316, allocations: 0 / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/1.316, allocations: 0.9375 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.316, allocations: 0.7812 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.316, allocations: 0 / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.79e-05/1.316, allocations: 90.97 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/1.316, allocations: 84 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1.316, allocations: 2.469 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/1.316, allocations: 4 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/1.316, allocations: 3.953 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/1.316, allocations: 1.094 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.215e-05/1.316, allocations: 89.25 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.316, allocations: 0 / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002/1.316, allocations: 14.5 kB / 1.277 GB, free: 3.973 MB / 0.9981 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.0001226/1.316, allocations: 109.1 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002115/1.317, allocations: 111.9 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.317, allocations: 0 / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/1.317, allocations: 23.97 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/1.317, allocations: 8.375 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/1.317, allocations: 140.6 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/1.317, allocations: 0.6806 MB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.17e-05/1.317, allocations: 4.25 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/1.317, allocations: 12.97 kB / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.317, allocations: 0 / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of Templates: time 0.003786/1.321, allocations: 1.089 MB / 1.279 GB, free: 2.824 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.215400436893106]