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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001337/0.001337, allocations: 103.9 kB / 16.4 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.001368/0.001368, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.271/1.271, 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.1-master/package.mo): time 2.412/2.412, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 75.83 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7116/0.7129, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001918/0.7149, allocations: 0.604 MB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.7163, allocations: 1.112 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.7164, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.7165, allocations: 3.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.7165, allocations: 11.92 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.7171, allocations: 125.6 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.7172, allocations: 95.83 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.7173, allocations: 11.98 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.7174, allocations: 35.91 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.7175, allocations: 31.89 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.7175, allocations: 11.94 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.7176, allocations: 20 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.7177, allocations: 7.969 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.7177, allocations: 35.92 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.7179, allocations: 83.78 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7179, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7179, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7179, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 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.0004492/0.7184, allocations: 377 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7184, allocations: 8.031 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.7185, allocations: 8.938 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.7186, allocations: 172.3 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7186, allocations: 4.375 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.7186, allocations: 8.375 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.7187, allocations: 46.12 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.7187, allocations: 192 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.7188, allocations: 3.938 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7188, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.7188, allocations: 8 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.7192, allocations: 290.7 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.7193, allocations: 34.52 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.7193, allocations: 8.922 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.7193, allocations: 7.922 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.7195, allocations: 55.41 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7195, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001957/0.7197, allocations: 77.58 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.7198, allocations: 55.41 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.7199, allocations: 113.8 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.7199, allocations: 29.7 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.72, allocations: 84.14 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.72, allocations: 7.906 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.72, allocations: 29.7 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7202, allocations: 318.8 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.7202, allocations: 27.98 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.7203, allocations: 54.56 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.7204, allocations: 84.2 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7205, allocations: 3.938 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002408/0.7207, allocations: 151.2 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.7207, allocations: 41.69 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7208, allocations: 0 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.7208, allocations: 4.297 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.7208, allocations: 8.062 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.7208, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.7211, allocations: 31.81 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.7211, allocations: 7.984 kB / 1.213 GB, free: 9.066 MB / 0.9356 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 9.427e-05/0.7212, allocations: 121.8 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.7212, allocations: 3.984 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.7212, allocations: 11.91 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7212, allocations: 4 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.7212, allocations: 3.938 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7213, allocations: 0 / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.7214, allocations: 165.6 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7214, allocations: 0 / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.7214, allocations: 3.938 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7214, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.7214, allocations: 4 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7214, allocations: 3.984 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7214, allocations: 0 / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.7215, allocations: 92.97 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.7216, allocations: 77.11 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7216, allocations: 4 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/0.7216, allocations: 0 / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.7217, allocations: 3.984 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.7217, allocations: 4 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.7217, allocations: 83.28 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7217, allocations: 4 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002102/0.7219, allocations: 19.98 kB / 1.213 GB, free: 8.359 MB / 0.9356 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.0001323/0.7221, allocations: 99.25 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.7223, allocations: 123.3 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7223, allocations: 0 / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.7223, allocations: 19.98 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.7225, allocations: 22.75 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.7229, allocations: 166.4 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.7231, allocations: 0.6807 MB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.7231, allocations: 11.44 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.7231, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.003049/0.7262, allocations: 0.9298 MB / 1.215 GB, free: 6.246 MB / 0.9356 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 -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