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.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.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.007315/0.007315, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001792/0.001792, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.646/2.646, allocations: 437 MB / 0.7106 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 68.12 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7206, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002568/0.7233, allocations: 1.088 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.7259, allocations: 1.518 MB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.7261, allocations: 4 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.7263, allocations: 15.8 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.7265, allocations: 39.7 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.7277, allocations: 429.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.7283, allocations: 459.8 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.7286, allocations: 131.7 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.7289, allocations: 171.6 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.7292, allocations: 159.3 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.7293, allocations: 28 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.7295, allocations: 39.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.7296, allocations: 59.81 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.7299, allocations: 171.2 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.7304, allocations: 385 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7304, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7304, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.7304, allocations: 4 kB / 1.022 GB, free: 14.2 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.001299/0.7317, allocations: 0.6928 MB / 1.023 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.7318, allocations: 12.03 kB / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.732, allocations: 36.66 kB / 1.023 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.733, allocations: 375.9 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.7331, allocations: 20.75 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.7331, allocations: 36.38 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.7336, allocations: 232.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.7336, allocations: 3.938 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.7337, allocations: 12 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7337, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.7339, allocations: 139.3 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.7353, allocations: 0.7653 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.7356, allocations: 190.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.7359, allocations: 208.8 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.7359, allocations: 4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.7362, allocations: 242 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.704e-06/0.7363, allocations: 0 / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007373/0.737, allocations: 423.6 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.7371, allocations: 110.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.7374, allocations: 286.4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.7375, allocations: 41.7 kB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.7376, allocations: 156.6 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.7377, allocations: 63.25 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.7379, allocations: 149.5 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7381, allocations: 338.8 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.7385, allocations: 204.6 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.739, allocations: 319.9 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.7396, allocations: 0.5232 MB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7396, allocations: 4 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001161/0.7408, allocations: 0.7094 MB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.596e-05/0.7409, allocations: 122.8 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.7409, allocations: 4 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7409, allocations: 4.406 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.7411, allocations: 31.86 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.7411, allocations: 7.984 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/0.7417, allocations: 135.4 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.7419, allocations: 67.92 kB / 1.028 GB, free: 7.172 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.0002305/0.7421, allocations: 189.6 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.7422, allocations: 27.62 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.7427, allocations: 364.5 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7427, allocations: 4 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7427, allocations: 0 / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.7428, allocations: 3.984 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.7437, allocations: 0.7205 MB / 1.03 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7437, allocations: 0 / 1.03 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.7438, allocations: 12 kB / 1.03 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7438, allocations: 7.922 kB / 1.03 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.7438, allocations: 8 kB / 1.03 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.7438, allocations: 3.938 kB / 1.03 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7438, allocations: 4 kB / 1.03 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.7443, allocations: 415.6 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.7444, allocations: 100.8 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.7444, allocations: 15.89 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.7446, allocations: 15.88 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.7446, allocations: 23.97 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.7446, allocations: 15.98 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001833/0.7448, allocations: 190 kB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7448, allocations: 0 / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004129/0.7453, allocations: 80 kB / 1.03 GB, free: 4.898 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.000188/0.7455, allocations: 125.4 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009407/0.7464, allocations: 0.6618 MB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7464, allocations: 3.938 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.7467, allocations: 147.8 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.7472, allocations: 58.88 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.7482, allocations: 0.6023 MB / 1.032 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.7485, allocations: 0.7651 MB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.7486, allocations: 31.44 kB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7486, allocations: 0 / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.007938/0.7566, allocations: 4.395 MB / 1.037 GB, free: 14.04 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/jenkins1/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