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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001004/0.001004, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003986, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8731, allocations: 142.4 MB / 0.9544 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008345/0.874, allocations: 323.8 kB / 0.9548 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.8755, allocations: 1.098 MB / 0.9558 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.8755, allocations: 5.344 kB / 0.9558 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.8755, allocations: 0 / 0.9558 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.8756, allocations: 5.344 kB / 0.9558 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.8761, allocations: 103.8 kB / 0.9559 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.8762, allocations: 72.42 kB / 0.956 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.8763, allocations: 2.406 kB / 0.956 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.8764, allocations: 36.47 kB / 0.956 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.8765, allocations: 23.12 kB / 0.9561 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.8766, allocations: 4.656 kB / 0.9561 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.8766, allocations: 14.73 kB / 0.9561 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.8767, allocations: 17.08 kB / 0.9561 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.8767, allocations: 32.05 kB / 0.9561 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8769, allocations: 61.52 kB / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.8769, allocations: 1.156 kB / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8769, allocations: 0 / 0.9562 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.8769, allocations: 0 / 0.9562 GB, free: 6.594 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.0004092/0.8773, allocations: 366.4 kB / 0.9565 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8774, allocations: 9.406 kB / 0.9565 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.8774, allocations: 20.2 kB / 0.9566 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.8775, allocations: 164.5 kB / 0.9567 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.8776, allocations: 2.875 kB / 0.9567 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.8776, allocations: 4.438 kB / 0.9567 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.8777, allocations: 43.44 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8777, allocations: 0 / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8777, allocations: 1.75 kB / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.8777, allocations: 0 / 0.9568 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.8778, allocations: 17.23 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.8782, allocations: 288.1 kB / 0.9571 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.8783, allocations: 29.7 kB / 0.9571 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.8783, allocations: 11.73 kB / 0.9571 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.8783, allocations: 1.156 kB / 0.9571 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.8785, allocations: 62.55 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.8785, allocations: 0 / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002222/0.8787, allocations: 74.91 kB / 0.9572 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.8788, allocations: 56.94 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.8788, allocations: 115 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.8789, allocations: 27.7 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.8789, allocations: 83.08 kB / 0.9575 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.8789, allocations: 13.17 kB / 0.9575 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.879, allocations: 6.25 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.879, allocations: 315.9 kB / 0.9578 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.8791, allocations: 32.33 kB / 0.9579 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.8792, allocations: 47.91 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.8793, allocations: 58.81 kB / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8793, allocations: 0 / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002428/0.8796, allocations: 148.5 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.8796, allocations: 36.56 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8796, allocations: 1.781 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8796, allocations: 5.547 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.8797, allocations: 1.219 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8797, allocations: 5.312 kB / 0.9581 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.8799, allocations: 50.06 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.8799, allocations: 8.188 kB / 0.9582 GB, free: 4.551 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,booToInt.y,$PRE.booPul.y,booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.88, allocations: 122.6 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.88, allocations: 2.969 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.8801, allocations: 5.25 kB / 0.9583 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8801, allocations: 240 / 0.9583 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8801, allocations: 3.953 kB / 0.9583 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.8801, allocations: 5.078 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.828e-05/0.8802, allocations: 168.4 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8802, allocations: 0 / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.8802, allocations: 3.031 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8802, allocations: 0 / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.8802, allocations: 1.375 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8802, allocations: 4 kB / 0.9585 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8802, allocations: 0 / 0.9585 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.8803, allocations: 94.44 kB / 0.9586 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.8804, allocations: 82.86 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.8804, allocations: 0 / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.8804, allocations: 1.906 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.8804, allocations: 7.984 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.8805, allocations: 1.875 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.8805, allocations: 84.73 kB / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8805, allocations: 0 / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.8807, allocations: 20.19 kB / 0.9588 GB, free: 3.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.8808, allocations: 110.7 kB / 0.9589 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.881, allocations: 126.2 kB / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.881, allocations: 0 / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.8811, allocations: 12.25 kB / 0.959 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.8812, allocations: 8.109 kB / 0.959 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.8815, allocations: 140 kB / 0.9592 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.8817, allocations: 0.6836 MB / 0.9598 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.8817, allocations: 1.5 kB / 0.9598 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.8817, allocations: 10.41 kB / 0.9598 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8817, allocations: 0 / 0.9598 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.003569/0.8853, allocations: 0.9865 MB / 0.9608 GB, free: 2.359 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