Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 185.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7646 GB, free: 9.922 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger")
translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.89 kB / 1.11 GB, free: 6.387 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.019, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001793/1.02, allocations: 0.6044 MB / 1.275 GB, free: 3.621 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001538/1.022, allocations: 1.123 MB / 1.276 GB, free: 2.484 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/1.022, allocations: 4 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.211e-05/1.022, allocations: 0 / 1.276 GB, free: 2.48 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 6.156e-05/1.022, allocations: 3.938 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004941/1.022, allocations: 123.7 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001594/1.023, allocations: 91.83 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/1.023, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/1.023, allocations: 47.89 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/1.023, allocations: 27.91 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.276e-05/1.023, allocations: 8 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/1.023, allocations: 19.98 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.219e-05/1.023, allocations: 11.98 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.388e-05/1.023, allocations: 27.91 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001501/1.023, allocations: 83.45 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.023, allocations: 4 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.523e-06/1.023, allocations: 3.938 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.408e-06/1.023, allocations: 4 kB / 1.276 GB, free: 2.035 MB / 0.9669 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.0004593/1.024, allocations: 310.6 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/1.024, allocations: 8.031 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/1.024, allocations: 8.875 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.024, allocations: 110.5 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.024, allocations: 4.375 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/1.024, allocations: 12.31 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.703e-05/1.024, allocations: 42.25 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/1.024, allocations: 192 / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.024, allocations: 3.938 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.024, allocations: 3.984 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/1.024, allocations: 11.98 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/1.024, allocations: 256 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/1.025, allocations: 30.45 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/1.025, allocations: 22.48 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/1.025, allocations: 0 / 1.277 GB, free: 1.109 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/1.025, allocations: 59.39 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=4): time 1.223e-06/1.025, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4): time 0.0002078/1.025, allocations: 73.58 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.025, allocations: 55.41 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/1.025, allocations: 109.8 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.553e-05/1.025, allocations: 29.7 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/1.025, allocations: 92.12 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/1.025, allocations: 7.953 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/1.025, allocations: 33.69 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001575/1.025, allocations: 314.8 kB / 1.278 GB, free: 292 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/1.025, allocations: 27.98 kB / 1.278 GB, free: 264 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/1.026, allocations: 54.55 kB / 1.278 GB, free: 200 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/1.026, allocations: 84.22 kB / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.026, allocations: 3.938 kB / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002871/1.026, allocations: 151.5 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/1.026, allocations: 37.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.026, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.026, allocations: 3.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/1.026, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.026, allocations: 4.125 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/1.026, allocations: 35.86 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.026, allocations: 7.984 kB / 1.278 GB, free: 15.83 MB / 0.9825 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.0001051/1.026, allocations: 121.6 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/1.026, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/1.026, allocations: 8 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.026, allocations: 11.88 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.026, allocations: 4 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.026, allocations: 3.984 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/1.027, allocations: 132.7 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.027, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/1.027, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.027, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.027, allocations: 3.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.027, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.027, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/1.027, allocations: 93.02 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/1.027, allocations: 4 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/1.027, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/1.027, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/1.027, allocations: 3.984 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/1.027, allocations: 4 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.734e-05/1.027, allocations: 91.2 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.027, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002149/1.027, allocations: 16 kB / 1.279 GB, free: 15.27 MB / 0.9825 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.0001526/1.027, allocations: 99.53 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002515/1.028, allocations: 119.4 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.028, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 3.915e-05/1.028, allocations: 15.92 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/1.028, allocations: 13.97 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/1.028, allocations: 145.1 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/1.028, allocations: 0.6807 MB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.179e-05/1.029, allocations: 4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/1.029, allocations: 11.38 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.81e-07/1.029, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004124/1.033, allocations: 1.096 MB / 1.281 GB, free: 13.02 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.338760518468916]