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.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.001859/0.001859, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.002362/0.002362, allocations: 166.3 kB / 22.46 MB, free: 5.355 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.717/1.717, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.761/2.761, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 2.755e-06/2.755e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.254e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00297/0.003002, allocations: 0.6091 MB / 0.9515 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.005991, allocations: 1.132 MB / 0.9526 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.006046, allocations: 0 / 0.9526 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.006084, allocations: 7.938 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.00618, allocations: 3.938 kB / 0.9527 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000856/0.007036, allocations: 126.8 kB / 0.9528 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.007303, allocations: 87.83 kB / 0.9529 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.00741, allocations: 7.984 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.007577, allocations: 59.83 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.007718, allocations: 19.97 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.007761, allocations: 8 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.00787, allocations: 19.92 kB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.007901, allocations: 12 kB / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.008003, allocations: 31.89 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.008326, allocations: 95.83 kB / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.00833, allocations: 0 / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.008331, allocations: 0 / 0.9531 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.008337, allocations: 0 / 0.9531 GB, free: 9.375 MB / 0.8575 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.0007326/0.00907, allocations: 303.9 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.009119, allocations: 8.031 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.009214, allocations: 8.891 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.009377, allocations: 105.8 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.009413, allocations: 4.375 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.009448, allocations: 12.38 kB / 0.9535 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.009585, allocations: 38.25 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.009599, allocations: 4.125 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.00961, allocations: 384 / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.009616, allocations: 4.312 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.009694, allocations: 15.92 kB / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.01027, allocations: 224.5 kB / 0.9538 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.01038, allocations: 38.5 kB / 0.9538 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.01043, allocations: 8.859 kB / 0.9538 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.01045, allocations: 4.062 kB / 0.9539 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.01068, allocations: 71.31 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.01068, allocations: 0 / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003173/0.011, allocations: 69.61 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.01107, allocations: 55.41 kB / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01122, allocations: 109.8 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.01126, allocations: 25.7 kB / 0.9542 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01136, allocations: 100 kB / 0.9543 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.01139, allocations: 7.953 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.01151, allocations: 29.7 kB / 0.9543 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.01172, allocations: 314.8 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.01192, allocations: 69.67 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.01212, allocations: 76.27 kB / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.01235, allocations: 80.27 kB / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01235, allocations: 3.938 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006044/0.01296, allocations: 185 kB / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.01302, allocations: 37.64 kB / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01303, allocations: 0 / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.01305, allocations: 4 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.01312, allocations: 4.062 kB / 0.955 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.01314, allocations: 4 kB / 0.955 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.01348, allocations: 39.84 kB / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.01352, allocations: 4 kB / 0.9551 GB, free: 7.109 MB / 0.8575 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.0001673/0.01368, allocations: 113.8 kB / 0.9552 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.0137, allocations: 4 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.01374, allocations: 7.938 kB / 0.9552 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01375, allocations: 0 / 0.9552 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.01376, allocations: 7.984 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01376, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.01393, allocations: 109.3 kB / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.01393, allocations: 3.938 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.01397, allocations: 4 kB / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01397, allocations: 0 / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.01398, allocations: 0 / 0.9553 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.01399, allocations: 7.875 kB / 0.9553 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01399, allocations: 0 / 0.9553 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.01422, allocations: 93.02 kB / 0.9554 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01424, allocations: 3.984 kB / 0.9554 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.01426, allocations: 8 kB / 0.9554 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.01429, allocations: 3.938 kB / 0.9554 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.01433, allocations: 0 / 0.9554 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01434, allocations: 4 kB / 0.9554 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.768e-05/0.01442, allocations: 87.27 kB / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01442, allocations: 0 / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004149/0.01484, allocations: 16 kB / 0.9555 GB, free: 6.582 MB / 0.8575 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.0002229/0.01506, allocations: 99.86 kB / 0.9556 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.01551, allocations: 149 kB / 0.9558 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01551, allocations: 4.125 kB / 0.9558 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.01557, allocations: 12 kB / 0.9558 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.01591, allocations: 7.984 kB / 0.9558 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.01639, allocations: 132.7 kB / 0.9559 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.0165, allocations: 67.34 kB / 0.956 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.01653, allocations: 7.984 kB / 0.956 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.01656, allocations: 8.5 kB / 0.956 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.01657, allocations: 0 / 0.956 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.007089/0.02365, allocations: 1.184 MB / 0.9572 GB, free: 4.879 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.262877725064754]