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.00839/0.00839, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001885/0.001885, allocations: 187 kB / 16.67 MB, free: 5.883 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.632/2.632, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 62.47 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3417, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001797/0.3436, allocations: 0.6028 MB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3451, allocations: 1.122 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.3452, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.3452, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.3453, allocations: 3.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.3458, allocations: 131.7 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.346, allocations: 99.77 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.3461, allocations: 7.984 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.3462, allocations: 27.98 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3463, allocations: 43.88 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3463, allocations: 8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.3464, allocations: 19.98 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3464, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.3465, allocations: 31.84 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3467, allocations: 83.78 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3467, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3467, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.3467, allocations: 0 / 1.09 GB, free: 15.36 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.0006129/0.3473, allocations: 389 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3474, allocations: 12.02 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.3474, allocations: 4.938 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3476, allocations: 168.3 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3477, allocations: 4.359 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3477, allocations: 4.375 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3478, allocations: 42.25 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3479, allocations: 192 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3479, allocations: 3.938 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3479, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.348, allocations: 11.98 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.3485, allocations: 296.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.3486, allocations: 30.52 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.3487, allocations: 12.91 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.3487, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3489, allocations: 67.39 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.349, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002926/0.3493, allocations: 65.62 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3493, allocations: 55.41 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3495, allocations: 117.7 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3495, allocations: 25.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.3496, allocations: 84.14 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.3496, allocations: 15.89 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.3497, allocations: 29.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3499, allocations: 314.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.35, allocations: 31.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.3501, allocations: 54.55 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3502, allocations: 84.2 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3503, allocations: 3.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002789/0.3505, allocations: 155.2 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.3506, allocations: 29.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3506, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3506, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.3507, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3508, allocations: 64 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.351, allocations: 43.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.351, allocations: 8.062 kB / 1.092 GB, free: 12.96 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.0001272/0.3512, allocations: 113.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3512, allocations: 8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.3512, allocations: 3.906 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3512, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3513, allocations: 3.984 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3513, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3514, allocations: 161.6 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3514, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.3515, allocations: 11.98 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3515, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3515, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3515, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.3515, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3516, allocations: 89.22 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3517, allocations: 81.02 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3517, allocations: 3.984 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.3517, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3518, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3518, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.3518, allocations: 91.27 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3519, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002209/0.3521, allocations: 12 kB / 1.093 GB, free: 12.26 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.0001872/0.3523, allocations: 103.2 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.3526, allocations: 127.3 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3526, allocations: 4.125 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.3526, allocations: 19.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.3529, allocations: 12.5 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.3533, allocations: 125.8 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3537, allocations: 0.6807 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.3537, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.3537, allocations: 11.44 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3537, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of Templates: time 0.004303/0.358, allocations: 1.083 MB / 1.095 GB, free: 10.04 MB / 0.8575 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