Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 193.7 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 59.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8051, allocations: 140.4 MB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002178/0.8073, allocations: 0.6659 MB / 0.9496 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.8088, allocations: 1.118 MB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.8089, allocations: 1.375 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.8089, allocations: 0 / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.809, allocations: 13.28 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.8095, allocations: 108.9 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.8097, allocations: 79.64 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.8098, allocations: 12.06 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.8098, allocations: 32.42 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.8099, allocations: 30.75 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.81, allocations: 4.125 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.8101, allocations: 15 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.8101, allocations: 10.67 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.8101, allocations: 24.55 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.8103, allocations: 80.72 kB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8103, allocations: 0 / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8103, allocations: 4 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8103, allocations: 0 / 0.9511 GB, free: 7.465 MB / 0.7169 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.0004538/0.8108, allocations: 378.5 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8109, allocations: 9.5 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.8109, allocations: 9.906 kB / 0.9514 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.811, allocations: 165.8 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.811, allocations: 3.062 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.8111, allocations: 4.594 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.8112, allocations: 45.16 kB / 0.9517 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8112, allocations: 4.188 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8112, allocations: 3.938 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.8112, allocations: 0 / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.8113, allocations: 13.62 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.8117, allocations: 292.8 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.8117, allocations: 29.73 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.8118, allocations: 23 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.8118, allocations: 1.5 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.812, allocations: 62.31 kB / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.812, allocations: 0 / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002055/0.8122, allocations: 68.61 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.8123, allocations: 51.41 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.8123, allocations: 116.1 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.8124, allocations: 30.92 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.8124, allocations: 83.73 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.8124, allocations: 9 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.8125, allocations: 33.5 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.8125, allocations: 313.3 kB / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.8126, allocations: 31.64 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.8127, allocations: 52.25 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.8128, allocations: 86.08 kB / 0.9529 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8128, allocations: 4.875 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002376/0.8131, allocations: 149.2 kB / 0.953 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.8131, allocations: 36.91 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8131, allocations: 5.25 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8132, allocations: 0 / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.8132, allocations: 11.45 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8132, allocations: 5.344 kB / 0.9531 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.8135, allocations: 35.48 kB / 0.9531 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.8135, allocations: 4.688 kB / 0.9531 GB, free: 5.359 MB / 0.7169 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 7.541e-05/0.8136, allocations: 119.4 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.8136, allocations: 5.438 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.8136, allocations: 5.438 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8136, allocations: 0 / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.8136, allocations: 9.547 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8137, allocations: 0 / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.8138, allocations: 164.8 kB / 0.9534 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8138, allocations: 4.062 kB / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.8138, allocations: 5.984 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8138, allocations: 0 / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.8138, allocations: 1.719 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8138, allocations: 3.938 kB / 0.9534 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8138, allocations: 1.344 kB / 0.9534 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.8139, allocations: 89.38 kB / 0.9535 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.814, allocations: 82.77 kB / 0.9536 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.814, allocations: 3.984 kB / 0.9536 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.459e-05/0.814, allocations: 1.219 kB / 0.9536 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.814, allocations: 5.188 kB / 0.9536 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.8141, allocations: 1.375 kB / 0.9536 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.8141, allocations: 88.62 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8141, allocations: 0.9375 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002152/0.8143, allocations: 23.72 kB / 0.9537 GB, free: 4.719 MB / 0.7169 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.0001352/0.8145, allocations: 101.6 kB / 0.9538 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.8147, allocations: 126.1 kB / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8147, allocations: 1.125 kB / 0.954 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.8147, allocations: 17.14 kB / 0.954 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.815, allocations: 8.281 kB / 0.954 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.8153, allocations: 138.4 kB / 0.9541 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.8154, allocations: 0.6849 MB / 0.9548 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.8155, allocations: 1.719 kB / 0.9548 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.8155, allocations: 13.38 kB / 0.9548 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8155, allocations: 3.938 kB / 0.9548 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.003787/0.8193, allocations: 1.023 MB / 0.9558 GB, free: 3.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches