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.001529/0.001529, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001649/0.00165, allocations: 187 kB / 17.34 MB, free: 5.742 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.15 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.522/2.522, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8997, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002149/0.9019, allocations: 1.043 MB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.9038, allocations: 1.456 MB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.9039, allocations: 11.88 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.9041, allocations: 27.67 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.9042, allocations: 47.64 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.9053, allocations: 464 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005946/0.9059, allocations: 0.5349 MB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.9061, allocations: 131.7 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.9064, allocations: 199.6 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.9067, allocations: 195.3 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.9068, allocations: 48 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.9069, allocations: 63.98 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.907, allocations: 71.75 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.9072, allocations: 183.3 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.9078, allocations: 0.5253 MB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9078, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9078, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.9078, allocations: 0 / 1.172 GB, free: 14.86 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.0008612/0.9087, allocations: 0.6909 MB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.9087, allocations: 8.922 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.9088, allocations: 48.55 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.9097, allocations: 368 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.9098, allocations: 24.75 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.9099, allocations: 28.38 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.9102, allocations: 236.8 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9102, allocations: 3.938 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.9103, allocations: 8 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9103, allocations: 4 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.9105, allocations: 151.2 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.9117, allocations: 0.7575 MB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.912, allocations: 186.4 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.9122, allocations: 212.7 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.9122, allocations: 4 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.9125, allocations: 235.9 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.9126, allocations: 3.938 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.0006469/0.9132, allocations: 426.3 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.9133, allocations: 122.7 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.9136, allocations: 282.5 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.9136, allocations: 37.7 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.9138, allocations: 164.6 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.9138, allocations: 55.36 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.914, allocations: 137.5 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9142, allocations: 342.8 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.9145, allocations: 204.7 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.915, allocations: 319.9 kB / 1.177 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.9156, allocations: 0.5271 MB / 1.178 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9156, allocations: 0 / 1.178 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00105/0.9167, allocations: 0.721 MB / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/0.9168, allocations: 126.8 kB / 1.178 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9168, allocations: 3.984 kB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.9168, allocations: 8 kB / 1.178 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.9169, allocations: 19.92 kB / 1.178 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.9169, allocations: 4 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.9175, allocations: 135.6 kB / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.9176, allocations: 71.86 kB / 1.179 GB, free: 7.824 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.0002064/0.9179, allocations: 189.7 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.9179, allocations: 23.72 kB / 1.179 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.9184, allocations: 365.2 kB / 1.179 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9184, allocations: 4 kB / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9184, allocations: 0 / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9185, allocations: 7.938 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.9193, allocations: 0.7106 MB / 1.18 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9193, allocations: 0 / 1.18 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.9194, allocations: 19.92 kB / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.9194, allocations: 4 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.9194, allocations: 8 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.9194, allocations: 7.938 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9194, allocations: 0 / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.9199, allocations: 416.4 kB / 1.18 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.92, allocations: 108.7 kB / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.92, allocations: 8 kB / 1.18 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.9201, allocations: 19.92 kB / 1.18 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.9202, allocations: 19.92 kB / 1.18 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.9202, allocations: 11.98 kB / 1.18 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000171/0.9204, allocations: 193.9 kB / 1.181 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9204, allocations: 0 / 1.181 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003975/0.9208, allocations: 88 kB / 1.181 GB, free: 5.547 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.0001647/0.921, allocations: 121.5 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008246/0.9218, allocations: 0.658 MB / 1.181 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9218, allocations: 4.25 kB / 1.181 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.922, allocations: 144.6 kB / 1.182 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.9225, allocations: 65.23 kB / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.9233, allocations: 0.5462 MB / 1.182 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.9236, allocations: 0.7648 MB / 1.183 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.9237, allocations: 31.44 kB / 1.183 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.9237, allocations: 0 / 1.183 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of Templates: time 0.007087/0.9308, allocations: 4.432 MB / 1.187 GB, free: 14.7 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/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