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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007387/0.007387, allocations: 107.5 kB / 15.74 MB, free: 5.582 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.0018/0.001801, allocations: 197.3 kB / 16.67 MB, free: 5.508 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00241/1.081, allocations: 1.034 MB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001978/1.083, allocations: 1.459 MB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/1.084, allocations: 7.938 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/1.084, allocations: 27.61 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/1.084, allocations: 43.64 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/1.085, allocations: 471.4 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000577/1.086, allocations: 0.531 MB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/1.086, allocations: 131.7 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/1.086, allocations: 203.5 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/1.086, allocations: 187.4 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/1.086, allocations: 48 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/1.087, allocations: 67.98 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/1.087, allocations: 71.75 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/1.087, allocations: 195.2 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/1.088, allocations: 0.5136 MB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.088, allocations: 4 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.086e-06/1.088, allocations: 0 / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.088, allocations: 0 / 1.213 GB, free: 8.668 MB / 0.9356 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.0009908/1.089, allocations: 0.691 MB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.089, allocations: 8.031 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/1.089, allocations: 40.56 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/1.09, allocations: 360.1 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/1.09, allocations: 28.73 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/1.09, allocations: 28.38 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/1.09, allocations: 233.1 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.09, allocations: 3.938 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/1.09, allocations: 11.94 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.09, allocations: 4 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/1.091, allocations: 143.3 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/1.092, allocations: 0.7652 MB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/1.092, allocations: 182.5 kB / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/1.092, allocations: 208.8 kB / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/1.092, allocations: 7.938 kB / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/1.093, allocations: 235.9 kB / 1.215 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/1.093, allocations: 4 kB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0006805/1.093, allocations: 430.9 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/1.094, allocations: 106.8 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/1.094, allocations: 286.4 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/1.094, allocations: 41.7 kB / 1.216 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/1.094, allocations: 152.6 kB / 1.216 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/1.094, allocations: 59.34 kB / 1.216 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/1.094, allocations: 145.5 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.095, allocations: 342.7 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/1.095, allocations: 200.6 kB / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/1.095, allocations: 320 kB / 1.217 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/1.096, allocations: 0.5232 MB / 1.218 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.096, allocations: 0 / 1.218 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001112/1.097, allocations: 0.7211 MB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.097, allocations: 130.8 kB / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.097, allocations: 4 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.097, allocations: 4 kB / 1.219 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.097, allocations: 23.92 kB / 1.219 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.097, allocations: 7.938 kB / 1.219 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/1.098, allocations: 139.5 kB / 1.219 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.098, allocations: 67.91 kB / 1.219 GB, free: 1.652 MB / 0.9356 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.0002329/1.098, allocations: 189.7 kB / 1.219 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/1.098, allocations: 23.72 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/1.099, allocations: 360.7 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.099, allocations: 4 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.099, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.099, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/1.1, allocations: 0.7217 MB / 1.22 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.1, allocations: 4 kB / 1.22 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/1.1, allocations: 19.92 kB / 1.22 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.1, allocations: 0 / 1.22 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/1.1, allocations: 8 kB / 1.22 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.1, allocations: 3.938 kB / 1.22 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.1, allocations: 3.984 kB / 1.22 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/1.101, allocations: 420.1 kB / 1.221 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/1.101, allocations: 104.7 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/1.101, allocations: 8 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/1.101, allocations: 19.86 kB / 1.221 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/1.101, allocations: 19.97 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.101, allocations: 12 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001784/1.101, allocations: 190 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.101, allocations: 0 / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003822/1.102, allocations: 87.98 kB / 1.221 GB, free: 15.38 MB / 0.9512 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.0002162/1.102, allocations: 129.4 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008435/1.103, allocations: 0.6548 MB / 1.222 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.103, allocations: 3.938 kB / 1.222 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/1.103, allocations: 135.9 kB / 1.222 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/1.103, allocations: 60.52 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/1.104, allocations: 0.5128 MB / 1.223 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/1.105, allocations: 0.757 MB / 1.223 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001496/1.105, allocations: 70.91 kB / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/1.105, allocations: 35.44 kB / 1.223 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of SimCode: time 2.405e-06/1.105, allocations: 0 / 1.223 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.01127/1.116, allocations: 5.158 MB / 1.228 GB, free: 7.816 MB / 0.9512 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 -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/jenkins/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