Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.91 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7779, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003712/0.7817, allocations: 1.027 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.7842, allocations: 1.464 MB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.7844, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.7847, allocations: 31.67 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.7848, allocations: 35.62 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.7863, allocations: 470.1 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000778/0.7871, allocations: 0.531 MB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.7874, allocations: 127.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.7878, allocations: 199.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.788, allocations: 171.4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.7882, allocations: 48 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.7884, allocations: 63.98 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.7885, allocations: 67.77 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.7888, allocations: 195.2 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.7894, allocations: 0.5073 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7894, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7894, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.7894, allocations: 3.938 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001197/0.7906, allocations: 0.6889 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.7907, allocations: 12.03 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.7909, allocations: 36.66 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.792, allocations: 368 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.792, allocations: 28.72 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.7921, allocations: 32.38 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.7925, allocations: 240.9 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7925, allocations: 3.938 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.7925, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7926, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.7928, allocations: 147.2 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.794, allocations: 0.7653 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.7943, allocations: 182.4 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.7946, allocations: 220 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.7946, allocations: 0 / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.7949, allocations: 244.7 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.795, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006425/0.7956, allocations: 420.5 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.7957, allocations: 114.8 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.796, allocations: 286.3 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.7961, allocations: 41.7 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.7962, allocations: 160.6 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.7962, allocations: 55.27 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.7965, allocations: 141.5 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7966, allocations: 346.7 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.797, allocations: 196.7 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.7974, allocations: 327.8 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.798, allocations: 0.5232 MB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.798, allocations: 4 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001062/0.7991, allocations: 0.7128 MB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.7992, allocations: 126.8 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.7992, allocations: 7.984 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.7992, allocations: 8 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.7993, allocations: 23.92 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.7993, allocations: 4 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.8, allocations: 131.9 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.8001, allocations: 67.86 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002164/0.8004, allocations: 193.6 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.8004, allocations: 27.62 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.801, allocations: 364.2 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.801, allocations: 7.984 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.801, allocations: 0 / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.801, allocations: 0 / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008717/0.8019, allocations: 0.7172 MB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.8019, allocations: 0 / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.802, allocations: 23.92 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.802, allocations: 4 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.802, allocations: 7.938 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.802, allocations: 7.938 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.802, allocations: 3.984 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.8025, allocations: 415.3 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.8025, allocations: 100.8 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.8026, allocations: 8 kB / 1.03 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.8027, allocations: 15.92 kB / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.8028, allocations: 23.91 kB / 1.03 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.8028, allocations: 12 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000171/0.803, allocations: 186 kB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.803, allocations: 0 / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004343/0.8034, allocations: 95.89 kB / 1.031 GB, free: 4.23 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: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001951/0.8036, allocations: 125.5 kB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009707/0.8046, allocations: 0.6886 MB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.8046, allocations: 0.8125 kB / 1.031 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.8048, allocations: 148.6 kB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.8053, allocations: 60.47 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.8062, allocations: 0.5057 MB / 1.032 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.8067, allocations: 0.7688 MB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.8068, allocations: 62.92 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.8069, allocations: 35.42 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8069, allocations: 0 / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of Templates: time 0.01093/0.8179, allocations: 4.988 MB / 1.038 GB, free: 12.8 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches