Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001457/0.001457, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001578/0.001578, allocations: 199.3 kB / 17.3 MB, free: 5.516 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 68.5 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3889, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002493/0.3915, allocations: 1.04 MB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3935, allocations: 1.459 MB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.3936, allocations: 3.938 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.3938, allocations: 31.67 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.3938, allocations: 39.64 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.395, allocations: 474.6 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.3955, allocations: 0.531 MB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.3958, allocations: 135.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.396, allocations: 203.5 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3963, allocations: 195.3 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.3963, allocations: 48 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3965, allocations: 63.98 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.3966, allocations: 63.84 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3968, allocations: 195.2 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.3973, allocations: 0.514 MB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3973, allocations: 4 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3973, allocations: 0 / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3973, allocations: 0 / 1.032 GB, free: 13.08 MB / 0.8106 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.0009151/0.3982, allocations: 0.6928 MB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3983, allocations: 11.97 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3984, allocations: 40.56 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009062/0.3993, allocations: 352.2 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.3994, allocations: 28.73 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.3994, allocations: 28.38 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.3998, allocations: 229.1 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3998, allocations: 3.938 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3998, allocations: 12 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3999, allocations: 4 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.4001, allocations: 155 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.4013, allocations: 0.7692 MB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4015, allocations: 178.5 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.4018, allocations: 219.5 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4018, allocations: 4 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.4022, allocations: 244.5 kB / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.452e-06/0.4022, allocations: 0 / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006753/0.4029, allocations: 423 kB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.4029, allocations: 110.8 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4032, allocations: 282.5 kB / 1.035 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.4033, allocations: 37.7 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4034, allocations: 160.6 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.4035, allocations: 63.28 kB / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.4037, allocations: 141.5 kB / 1.036 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.4039, allocations: 346.7 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.4042, allocations: 200.7 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.4047, allocations: 319.9 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.4053, allocations: 0.5232 MB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4053, allocations: 0 / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001054/0.4063, allocations: 0.721 MB / 1.038 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.309e-05/0.4064, allocations: 126.8 kB / 1.038 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4065, allocations: 3.938 kB / 1.038 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4065, allocations: 8 kB / 1.038 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.4066, allocations: 23.92 kB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.4066, allocations: 7.984 kB / 1.038 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.4072, allocations: 127.7 kB / 1.038 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4073, allocations: 75.86 kB / 1.038 GB, free: 6.062 MB / 0.8106 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.0002045/0.4075, allocations: 193.6 kB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.4076, allocations: 27.62 kB / 1.038 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.4081, allocations: 349.6 kB / 1.039 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4081, allocations: 4 kB / 1.039 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4081, allocations: 3.938 kB / 1.039 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4081, allocations: 7.984 kB / 1.039 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.4089, allocations: 0.7177 MB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4089, allocations: 0 / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.409, allocations: 19.92 kB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.409, allocations: 4 kB / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.409, allocations: 7.984 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4091, allocations: 7.938 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4091, allocations: 0 / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.4095, allocations: 416.2 kB / 1.04 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.4096, allocations: 104.7 kB / 1.04 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.4096, allocations: 8 kB / 1.04 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4097, allocations: 15.92 kB / 1.04 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.4098, allocations: 23.91 kB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4098, allocations: 12 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001605/0.41, allocations: 186 kB / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.41, allocations: 0 / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003835/0.4104, allocations: 91.98 kB / 1.04 GB, free: 3.789 MB / 0.8106 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.0001853/0.4106, allocations: 125.5 kB / 1.04 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.4114, allocations: 0.6585 MB / 1.041 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4114, allocations: 4.25 kB / 1.041 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.4116, allocations: 139.8 kB / 1.041 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.412, allocations: 64.45 kB / 1.041 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.4128, allocations: 0.509 MB / 1.042 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4132, allocations: 0.757 MB / 1.042 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.4133, allocations: 70.86 kB / 1.042 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.4134, allocations: 35.44 kB / 1.042 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.4134, allocations: 0 / 1.042 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of Templates: time 0.009452/0.4228, allocations: 4.988 MB / 1.047 GB, free: 12.38 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches