Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.009382/0.009382, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001982/0.001982, allocations: 198.3 kB / 16.79 MB, free: 5.809 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.436/1.436, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7106 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 63.91 kB / 0.8692 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7482, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00216/0.7504, allocations: 0.6753 MB / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.7519, allocations: 1.12 MB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.752, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.7521, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.7522, allocations: 7.922 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.7526, allocations: 107.6 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.7528, allocations: 79.77 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.7529, allocations: 11.98 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.753, allocations: 23.98 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.7531, allocations: 31.89 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.7531, allocations: 8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.7532, allocations: 15.98 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.7532, allocations: 7.938 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.7533, allocations: 27.91 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.7534, allocations: 55.88 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7535, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7535, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7535, allocations: 3.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 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.0005232/0.754, allocations: 387 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7541, allocations: 12.03 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.7541, allocations: 4.938 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.7543, allocations: 172.3 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.7543, allocations: 384 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.7543, allocations: 8.375 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.883e-05/0.7545, allocations: 38.25 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7545, allocations: 192 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.7545, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7545, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.381e-05/0.7545, allocations: 12 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.755, allocations: 300.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.7551, allocations: 30.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.7551, allocations: 16.91 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.7551, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.7553, allocations: 59.41 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.7553, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002265/0.7556, allocations: 73.61 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.7556, allocations: 51.41 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.7557, allocations: 113.8 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.7557, allocations: 29.7 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.7558, allocations: 88.05 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.7558, allocations: 11.84 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.7559, allocations: 33.69 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.756, allocations: 318.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.7561, allocations: 27.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.597e-05/0.7562, allocations: 54.55 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.7563, allocations: 80.22 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.7564, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002664/0.7566, allocations: 151.3 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.7567, allocations: 33.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7567, allocations: 64 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.7567, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.7568, allocations: 8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7568, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.757, allocations: 31.89 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.7571, allocations: 4.062 kB / 1.021 GB, free: 14.14 MB / 0.7794 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.0001041/0.7572, allocations: 134.2 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.7572, allocations: 3.906 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.7572, allocations: 3.906 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7572, allocations: 7.984 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7572, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7572, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.7574, allocations: 165.6 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7574, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.7574, allocations: 3.984 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7574, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.7574, allocations: 4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7574, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7575, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.7576, allocations: 85 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.7576, allocations: 81.02 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.7577, allocations: 7.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.7577, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.7577, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.7577, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.7578, allocations: 83.66 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.442e-06/0.7578, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002155/0.758, allocations: 23.94 kB / 1.022 GB, free: 13.44 MB / 0.7794 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.0001508/0.7582, allocations: 99.48 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.7584, allocations: 127.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7584, allocations: 4.125 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.7585, allocations: 16.36 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.7587, allocations: 9.656 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.759, allocations: 165.5 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.7593, allocations: 0.677 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.7593, allocations: 15.44 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7593, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.002629/0.7619, allocations: 0.9368 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches