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.001395/0.001395, allocations: 111.2 kB / 16.42 MB, free: 6.469 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.001399/0.001399, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001351, allocations: 59.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9173, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001652/0.919, allocations: 0.6095 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.9203, allocations: 1.11 MB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.9204, allocations: 1.438 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.9204, allocations: 0 / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.9205, allocations: 14.38 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.921, allocations: 127.4 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.9211, allocations: 91.86 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.9212, allocations: 8.828 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.9213, allocations: 45.86 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.9214, allocations: 28.05 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.9214, allocations: 7.688 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.9215, allocations: 27.11 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.9215, allocations: 1.859 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.9216, allocations: 34.45 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.9218, allocations: 84.55 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9218, allocations: 0 / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9218, allocations: 0 / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.9218, allocations: 0.8438 kB / 1.091 GB, free: 4.113 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.0003969/0.9222, allocations: 381.4 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.9223, allocations: 9.297 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.9223, allocations: 5.281 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.9224, allocations: 167.8 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.9224, allocations: 7.312 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.9225, allocations: 5.656 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.9226, allocations: 43.27 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9226, allocations: 192 / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.9226, allocations: 4.969 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.9226, allocations: 4 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.9227, allocations: 11.27 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.923, allocations: 288 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.9231, allocations: 34.97 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.9231, allocations: 17.95 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.9232, allocations: 0.6094 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.9233, allocations: 62.36 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.9233, allocations: 4.656 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.9235, allocations: 68.66 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.9236, allocations: 52.25 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.9236, allocations: 115.2 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.9237, allocations: 27.89 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.9237, allocations: 84.06 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.9237, allocations: 18.34 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.9238, allocations: 29.73 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.9238, allocations: 319 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.9239, allocations: 27.83 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.924, allocations: 50.66 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.9242, allocations: 94.03 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9242, allocations: 0 / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002559/0.9244, allocations: 150 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.9245, allocations: 34.55 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9245, allocations: 0.8438 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9245, allocations: 1.375 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.9246, allocations: 7.047 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9246, allocations: 1.594 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.9248, allocations: 36.83 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.9248, allocations: 5.703 kB / 1.093 GB, free: 2.125 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.0001023/0.9249, allocations: 120.1 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.925, allocations: 2.141 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.925, allocations: 5.469 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.925, allocations: 1.234 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.925, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.9251, allocations: 80.02 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.9251, allocations: 8.734 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.9251, allocations: 1.188 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.9252, allocations: 11.28 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001447/0.9253, allocations: 132.8 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001891/0.9255, allocations: 232.3 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.802e-05/0.9256, allocations: 17.77 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.9256, allocations: 90.73 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of Backend: time 2.184e-06/0.9256, allocations: 4 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006393/0.9263, allocations: 195.6 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005925/0.9269, allocations: 0.5767 MB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of Templates: time 0.004832/0.9317, allocations: 1.12 MB / 1.095 GB, free: 0.582 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/jenkins1/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