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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 104.1 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.9 MB, free: 13.62 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 443.5 MB / 0.731 GB, free: 12.8 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=513,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=513,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.002213/0.002213, allocations: 67.89 kB / 1.06 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8342, allocations: 160.7 MB / 1.217 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002349/0.8366, allocations: 0.6102 MB / 1.217 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.8384, allocations: 1.125 MB / 1.218 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.8384, allocations: 1.094 kB / 1.218 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.8385, allocations: 0 / 1.218 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.8385, allocations: 9.125 kB / 1.218 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.8391, allocations: 119.4 kB / 1.218 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.8392, allocations: 91.2 kB / 1.218 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.8393, allocations: 6.734 kB / 1.218 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.8394, allocations: 35.94 kB / 1.218 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.8395, allocations: 35.83 kB / 1.219 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.8395, allocations: 8.906 kB / 1.219 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.8396, allocations: 22.02 kB / 1.219 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.8396, allocations: 13.33 kB / 1.219 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.8397, allocations: 30.16 kB / 1.219 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.8399, allocations: 82.62 kB / 1.219 GB, free: 2.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8399, allocations: 3.984 kB / 1.219 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8399, allocations: 0 / 1.219 GB, free: 2.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8399, allocations: 1.438 kB / 1.219 GB, free: 2.402 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.0005337/0.8404, allocations: 384.3 kB / 1.219 GB, free: 1.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.8405, allocations: 8.156 kB / 1.219 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.8405, allocations: 6.344 kB / 1.219 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.8407, allocations: 165.7 kB / 1.219 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8407, allocations: 11 kB / 1.219 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.8407, allocations: 5.094 kB / 1.219 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.8408, allocations: 39.75 kB / 1.219 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8408, allocations: 192 / 1.219 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.8408, allocations: 5.156 kB / 1.219 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8408, allocations: 3.938 kB / 1.219 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.8409, allocations: 13.42 kB / 1.219 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.8413, allocations: 288.7 kB / 1.22 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.8414, allocations: 40.47 kB / 1.22 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.8414, allocations: 7.359 kB / 1.22 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.8414, allocations: 1.25 kB / 1.22 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.8416, allocations: 62.2 kB / 1.22 GB, free: 1.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8416, allocations: 0 / 1.22 GB, free: 1.305 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002246/0.8418, allocations: 67.72 kB / 1.22 GB, free: 1.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.8419, allocations: 56.56 kB / 1.22 GB, free: 1.191 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.842, allocations: 110.9 kB / 1.22 GB, free: 1.082 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.842, allocations: 35.91 kB / 1.22 GB, free: 1.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.8421, allocations: 87.38 kB / 1.22 GB, free: 0.957 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.8421, allocations: 9.141 kB / 1.22 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.8421, allocations: 30.8 kB / 1.22 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8423, allocations: 312.2 kB / 1.22 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.8424, allocations: 35.25 kB / 1.22 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.8425, allocations: 53.16 kB / 1.22 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.8426, allocations: 86.14 kB / 1.22 GB, free: 484 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8426, allocations: 3.938 kB / 1.22 GB, free: 480 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002878/0.8429, allocations: 151.2 kB / 1.221 GB, free: 372 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.8429, allocations: 33.11 kB / 1.221 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.843, allocations: 8.047 kB / 1.221 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.843, allocations: 5.406 kB / 1.221 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.843, allocations: 3.125 kB / 1.221 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.843, allocations: 1.359 kB / 1.221 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.8432, allocations: 35.77 kB / 1.221 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.8433, allocations: 5.094 kB / 1.221 GB, free: 308 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.0001188/0.8434, allocations: 122.9 kB / 1.221 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.8434, allocations: 10.11 kB / 1.221 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.8434, allocations: 8.781 kB / 1.221 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8434, allocations: 0 / 1.221 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8434, allocations: 1.094 kB / 1.221 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8434, allocations: 0 / 1.221 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.8436, allocations: 169 kB / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8436, allocations: 0 / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.8436, allocations: 2.156 kB / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.8436, allocations: 1.312 kB / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.8436, allocations: 3.938 kB / 1.221 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8436, allocations: 1.312 kB / 1.221 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8436, allocations: 7.984 kB / 1.221 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.8438, allocations: 89.22 kB / 1.221 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.8438, allocations: 79.42 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.8438, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.8438, allocations: 5.219 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.8439, allocations: 5.344 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.8439, allocations: 6.562 kB / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.8439, allocations: 88.61 kB / 1.221 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8439, allocations: 0 / 1.221 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002309/0.8442, allocations: 18.25 kB / 1.221 GB, free: 15.66 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.0001795/0.8443, allocations: 105.9 kB / 1.221 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.8446, allocations: 107.8 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8446, allocations: 3.938 kB / 1.222 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.8446, allocations: 12.19 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.8448, allocations: 20.89 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.8452, allocations: 154.9 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.8455, allocations: 0.6797 MB / 1.222 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.8455, allocations: 10.59 kB / 1.222 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8455, allocations: 0 / 1.222 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.002963/0.8485, allocations: 0.9312 MB / 1.223 GB, free: 14.12 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/jenkins1/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