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.007112/0.007112, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001556/0.001556, allocations: 188.5 kB / 16.67 MB, free: 5.957 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.596/2.596, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.248, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002756/1.251, allocations: 1.04 MB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002475/1.254, allocations: 1.467 MB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/1.254, allocations: 3.938 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/1.254, allocations: 23.67 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/1.254, allocations: 35.66 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/1.256, allocations: 479.2 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008787/1.257, allocations: 0.531 MB / 1.17 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/1.257, allocations: 127.7 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/1.258, allocations: 203.5 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/1.258, allocations: 191.4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/1.258, allocations: 51.94 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/1.258, allocations: 63.98 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/1.259, allocations: 63.83 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/1.259, allocations: 195.2 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007453/1.26, allocations: 0.5144 MB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.26, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.843e-06/1.26, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.26, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 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.001221/1.261, allocations: 0.71 MB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.261, allocations: 8.922 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.261, allocations: 36.8 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/1.262, allocations: 372.2 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/1.262, allocations: 28.75 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/1.262, allocations: 28.38 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/1.263, allocations: 232.9 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.263, allocations: 7.875 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/1.263, allocations: 15.98 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.263, allocations: 4 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/1.263, allocations: 139.3 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/1.264, allocations: 0.7693 MB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/1.265, allocations: 178.5 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/1.265, allocations: 220.7 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/1.265, allocations: 0 / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/1.265, allocations: 244.2 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.273e-06/1.265, allocations: 0 / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.000691/1.266, allocations: 426.5 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/1.266, allocations: 114.7 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/1.266, allocations: 282.6 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/1.267, allocations: 37.7 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.267, allocations: 164.8 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/1.267, allocations: 71.47 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/1.267, allocations: 137.6 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.267, allocations: 342.8 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/1.267, allocations: 200.6 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/1.268, allocations: 316 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/1.269, allocations: 0.5232 MB / 1.177 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.269, allocations: 4 kB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001161/1.27, allocations: 0.7214 MB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-05/1.27, allocations: 122.8 kB / 1.178 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.27, allocations: 8 kB / 1.178 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.27, allocations: 8 kB / 1.178 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/1.27, allocations: 19.92 kB / 1.178 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.27, allocations: 7.938 kB / 1.178 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/1.271, allocations: 131.6 kB / 1.178 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.271, allocations: 67.86 kB / 1.178 GB, free: 7.809 MB / 0.9044 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.0002667/1.271, allocations: 197.6 kB / 1.178 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/1.271, allocations: 27.81 kB / 1.178 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/1.272, allocations: 357.3 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.272, allocations: 4 kB / 1.178 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.272, allocations: 0 / 1.178 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.272, allocations: 3.984 kB / 1.178 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/1.273, allocations: 0.7223 MB / 1.179 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.273, allocations: 4 kB / 1.179 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/1.273, allocations: 15.94 kB / 1.179 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.273, allocations: 0 / 1.179 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.273, allocations: 11.98 kB / 1.179 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.273, allocations: 7.938 kB / 1.179 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.273, allocations: 0 / 1.179 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/1.273, allocations: 416.5 kB / 1.18 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/1.273, allocations: 112.9 kB / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.273, allocations: 7.984 kB / 1.18 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/1.274, allocations: 11.94 kB / 1.18 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/1.274, allocations: 27.91 kB / 1.18 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/1.274, allocations: 11.98 kB / 1.18 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001934/1.274, allocations: 190 kB / 1.18 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/1.274, allocations: 0 / 1.18 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004254/1.274, allocations: 87.94 kB / 1.18 GB, free: 5.52 MB / 0.9044 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.0002061/1.275, allocations: 129.4 kB / 1.18 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008961/1.275, allocations: 0.6574 MB / 1.181 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.275, allocations: 0 / 1.181 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/1.276, allocations: 133.5 kB / 1.181 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/1.276, allocations: 60.47 kB / 1.181 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.277, allocations: 0.5168 MB / 1.182 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005518/1.278, allocations: 0.7648 MB / 1.182 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001722/1.278, allocations: 62.92 kB / 1.182 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/1.278, allocations: 39.42 kB / 1.182 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.278, allocations: 3.938 kB / 1.182 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of Templates: time 0.01131/1.289, allocations: 5.025 MB / 1.187 GB, free: 14.08 MB / 0.92 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