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.001744/0.001744, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002576/0.002575, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.548/1.548, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.483/2.483, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8773, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001924/0.8793, allocations: 0.6044 MB / 0.9502 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.8807, allocations: 1.11 MB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.8808, allocations: 0 / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.8809, allocations: 5.312 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.77e-05/0.8809, allocations: 3.938 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.8815, allocations: 121.3 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.8817, allocations: 94.86 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8818, allocations: 4.406 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.8819, allocations: 47.86 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.882, allocations: 23.41 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.882, allocations: 7.969 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.8821, allocations: 21.27 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.8821, allocations: 7.25 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.8822, allocations: 28.44 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.8823, allocations: 85.16 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8823, allocations: 3.938 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8823, allocations: 0 / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8823, allocations: 0 / 0.9517 GB, free: 7.605 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.0004295/0.8828, allocations: 386.8 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8828, allocations: 13.14 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.8829, allocations: 8.594 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.883, allocations: 167.4 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.883, allocations: 2.875 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.8831, allocations: 5 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.8832, allocations: 39.28 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8832, allocations: 192 / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.8832, allocations: 5.188 kB / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8832, allocations: 0 / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.8833, allocations: 17.55 kB / 0.9523 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.8837, allocations: 291.4 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.8837, allocations: 30.36 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.8838, allocations: 12.06 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.8838, allocations: 5.094 kB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.884, allocations: 70.64 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.884, allocations: 0 / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002505/0.8842, allocations: 68.53 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8843, allocations: 51.41 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.8844, allocations: 107.5 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.8844, allocations: 31.42 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.8844, allocations: 82.98 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.8845, allocations: 13.39 kB / 0.9531 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.8845, allocations: 35.2 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.8846, allocations: 310.8 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.8847, allocations: 33.23 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.8848, allocations: 59.33 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.8849, allocations: 87.02 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8849, allocations: 3.938 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00023/0.8851, allocations: 152.7 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.8852, allocations: 33.27 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8852, allocations: 1.094 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8852, allocations: 1.125 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.8853, allocations: 2.031 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8853, allocations: 5.297 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.8856, allocations: 36.47 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.8856, allocations: 5.344 kB / 0.9538 GB, free: 5.5 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 8.469e-05/0.8857, allocations: 121.7 kB / 0.9539 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.8857, allocations: 6.156 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.8857, allocations: 13.2 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8858, allocations: 1.406 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8858, allocations: 0 / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8858, allocations: 0 / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.8859, allocations: 164.3 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8859, allocations: 5.094 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.8859, allocations: 1.375 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8859, allocations: 1.375 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.8859, allocations: 9.062 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8859, allocations: 0 / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8859, allocations: 3.938 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.8861, allocations: 86.28 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.8861, allocations: 86.44 kB / 0.9543 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.8861, allocations: 5.719 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.8861, allocations: 0 / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.8862, allocations: 1 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.8862, allocations: 2.938 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.8862, allocations: 88.11 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8862, allocations: 0 / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002248/0.8865, allocations: 14.84 kB / 0.9544 GB, free: 4.863 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.0001454/0.8866, allocations: 103.6 kB / 0.9545 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.8869, allocations: 134.2 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8869, allocations: 0 / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.8869, allocations: 14 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.8872, allocations: 11.98 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.8875, allocations: 125.8 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.8877, allocations: 0.6868 MB / 0.9554 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.8877, allocations: 2.375 kB / 0.9554 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.8878, allocations: 9.938 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8878, allocations: 0 / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.003854/0.8916, allocations: 1.084 MB / 0.9565 GB, free: 3.258 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