Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001425/0.001425, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001636/0.001636, allocations: 186.8 kB / 22.22 MB, free: 5.105 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.596/1.596, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.162, allocations: 160.8 MB / 1.218 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00226/1.164, allocations: 0.6088 MB / 1.219 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001988/1.166, allocations: 1.131 MB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/1.166, allocations: 0.9375 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/1.166, allocations: 0 / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/1.166, allocations: 13.09 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/1.167, allocations: 128.1 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/1.167, allocations: 85.48 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/1.167, allocations: 6.969 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/1.167, allocations: 37.03 kB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/1.168, allocations: 35.73 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/1.168, allocations: 9.25 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/1.168, allocations: 25.14 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/1.168, allocations: 2.375 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/1.168, allocations: 33.41 kB / 1.221 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/1.168, allocations: 86.33 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.168, allocations: 5.469 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/1.168, allocations: 0 / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.168, allocations: 0 / 1.221 GB, free: 2.121 MB / 0.92 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.0005726/1.169, allocations: 384.7 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.169, allocations: 8.531 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/1.169, allocations: 5.75 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/1.169, allocations: 169.5 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.169, allocations: 3.094 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/1.169, allocations: 9.562 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/1.169, allocations: 43.31 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.169, allocations: 1.406 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/1.169, allocations: 3.938 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/1.169, allocations: 5.062 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/1.169, allocations: 9.188 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/1.17, allocations: 291.2 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/1.17, allocations: 33.45 kB / 1.222 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/1.17, allocations: 15.12 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/1.17, allocations: 5.391 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/1.17, allocations: 55.09 kB / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.17, allocations: 0 / 1.222 GB, free: 1.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000248/1.17, allocations: 75.2 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/1.17, allocations: 52.47 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/1.17, allocations: 119.1 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/1.17, allocations: 28.11 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/1.17, allocations: 86.61 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/1.17, allocations: 9.344 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/1.17, allocations: 41.97 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.171, allocations: 312 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/1.171, allocations: 32.48 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/1.171, allocations: 48.58 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/1.171, allocations: 85.84 kB / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.171, allocations: 5 kB / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002847/1.171, allocations: 154.2 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/1.171, allocations: 32.92 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/1.171, allocations: 1.375 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.171, allocations: 1.219 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/1.171, allocations: 6.688 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.171, allocations: 0 / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/1.171, allocations: 32.2 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/1.172, allocations: 13.39 kB / 1.223 GB, free: 12 kB / 0.92 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.0001356/1.172, allocations: 122.8 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/1.172, allocations: 2.25 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/1.172, allocations: 8 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.172, allocations: 9.031 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.172, allocations: 1.062 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.172, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/1.172, allocations: 164.8 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.172, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/1.172, allocations: 5.969 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.172, allocations: 1 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.172, allocations: 5.078 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.172, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.172, allocations: 1 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/1.172, allocations: 92.98 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/1.172, allocations: 79.27 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/1.172, allocations: 1.125 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/1.172, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/1.172, allocations: 9.109 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/1.172, allocations: 2.219 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.691e-05/1.172, allocations: 89.02 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.172, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002164/1.172, allocations: 18.38 kB / 1.223 GB, free: 15.38 MB / 0.9356 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.0001483/1.173, allocations: 105.6 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002331/1.173, allocations: 108.2 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.173, allocations: 3.938 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/1.173, allocations: 20.08 kB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/1.173, allocations: 10.17 kB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/1.173, allocations: 136.6 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.174, allocations: 0.6794 MB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.01e-05/1.174, allocations: 2.156 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/1.174, allocations: 9.594 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.174, allocations: 1.25 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.004617/1.178, allocations: 1.089 MB / 1.225 GB, free: 13.78 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.808214947581291]