Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001132/0.001132, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001047/0.001047, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.81 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001977/0.3467, allocations: 0.6115 MB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3481, allocations: 1.111 MB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.3481, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.3482, allocations: 3.938 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.3482, allocations: 3.938 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.3487, allocations: 131 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3489, allocations: 87.89 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.349, allocations: 7.984 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.3491, allocations: 47.84 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.3492, allocations: 31.89 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3492, allocations: 8 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.3493, allocations: 24.06 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.3493, allocations: 7.844 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.3494, allocations: 31.92 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3496, allocations: 83.78 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3496, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3496, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3496, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 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.0004561/0.3501, allocations: 381.1 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3501, allocations: 12.02 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3502, allocations: 4.938 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3503, allocations: 164.4 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3503, allocations: 4.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3503, allocations: 8.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.166e-05/0.3504, allocations: 38.19 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3504, allocations: 192 / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3504, allocations: 7.938 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3505, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.3505, allocations: 15.97 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.3509, allocations: 296.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.351, allocations: 22.52 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.351, allocations: 20.84 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.351, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.3511, allocations: 67.39 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.3511, allocations: 3.938 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001762/0.3513, allocations: 69.62 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3514, allocations: 59.34 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.3515, allocations: 109.8 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3515, allocations: 29.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.3515, allocations: 92.12 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.3516, allocations: 7.891 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3516, allocations: 33.7 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3517, allocations: 314.8 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.3518, allocations: 27.98 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.3519, allocations: 54.55 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.352, allocations: 88.2 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.352, allocations: 7.938 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002355/0.3523, allocations: 143.3 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.3523, allocations: 37.7 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3523, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3523, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.3524, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3524, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3526, allocations: 32.02 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3526, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 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.295e-05/0.3527, allocations: 125.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.3527, allocations: 3.906 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3528, allocations: 3.906 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3528, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3528, allocations: 3.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3528, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3529, allocations: 165.6 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3529, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.3529, allocations: 7.922 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.353, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.353, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.353, allocations: 4.062 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.353, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.3531, allocations: 81.06 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.3531, allocations: 81.02 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3532, allocations: 19.92 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.3532, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.3532, allocations: 3.938 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3532, allocations: 4 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.3533, allocations: 87.27 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3533, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000226/0.3535, allocations: 16 kB / 1.032 GB, free: 12.77 MB / 0.8106 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.0001254/0.3536, allocations: 103.8 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3538, allocations: 123.7 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3539, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.3539, allocations: 24.02 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3541, allocations: 9.141 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.3544, allocations: 138.2 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3546, allocations: 0.6768 MB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.202e-05/0.3547, allocations: 8.125 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.3547, allocations: 11.44 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3547, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.003382/0.3581, allocations: 1.072 MB / 1.034 GB, free: 10.54 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches