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.001321/0.001321, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001281/0.001281, allocations: 187 kB / 17.34 MB, free: 5.73 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.281/1.281, 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 11.0.1-master/package.mo): time 2.442/2.442, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.14 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/0.7146, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002096/0.7167, allocations: 1.024 MB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.7185, allocations: 1.463 MB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.7186, allocations: 4 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.7188, allocations: 27.67 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.7189, allocations: 43.58 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.7199, allocations: 480.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.7205, allocations: 0.5271 MB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.7207, allocations: 131.6 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.721, allocations: 203.6 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.7213, allocations: 191.4 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.7214, allocations: 52 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.7215, allocations: 63.92 kB / 1.213 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.7216, allocations: 71.75 kB / 1.213 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.7218, allocations: 187.3 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.7223, allocations: 0.5175 MB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7223, allocations: 0 / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7223, allocations: 0 / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.7223, 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.0008325/0.7232, allocations: 0.691 MB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.7232, allocations: 8.031 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.7233, allocations: 44.55 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.7242, allocations: 360.1 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.7243, allocations: 20.75 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.7243, allocations: 36.38 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.7247, allocations: 237.1 kB / 1.215 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.7247, allocations: 3.938 kB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.7248, allocations: 4 kB / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.7248, allocations: 8 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.725, allocations: 147.2 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.7262, allocations: 0.7574 MB / 1.216 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.7264, allocations: 194.4 kB / 1.216 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.7267, allocations: 206.3 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.7267, allocations: 4 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.727, allocations: 239.9 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.502e-06/0.727, allocations: 0 / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0006158/0.7276, allocations: 426.7 kB / 1.217 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.7277, allocations: 114.8 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.728, allocations: 278.5 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.728, allocations: 41.7 kB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.7282, allocations: 160.5 kB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.7282, allocations: 55.34 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.7284, allocations: 149.5 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7285, allocations: 338.8 kB / 1.218 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.7289, allocations: 200.7 kB / 1.218 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.7293, allocations: 319.9 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.7299, allocations: 0.5232 MB / 1.219 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7299, allocations: 4 kB / 1.219 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001004/0.7309, allocations: 0.7169 MB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.731, allocations: 122.8 kB / 1.219 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.731, allocations: 7.984 kB / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.731, allocations: 4.406 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.7311, allocations: 31.86 kB / 1.219 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7311, allocations: 11.98 kB / 1.22 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006345/0.7318, allocations: 131.4 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/0.7319, allocations: 67.92 kB / 1.22 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.000194/0.7321, allocations: 181.6 kB / 1.22 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.7321, allocations: 27.72 kB / 1.22 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.7326, allocations: 360.7 kB / 1.22 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.7326, allocations: 7.984 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7326, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.7326, allocations: 0 / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.7334, allocations: 0.7217 MB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.7334, allocations: 0 / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.7335, allocations: 23.98 kB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.7335, allocations: 0 / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.7335, allocations: 11.94 kB / 1.221 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.7335, allocations: 3.938 kB / 1.221 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7335, allocations: 3.938 kB / 1.221 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.734, allocations: 412.1 kB / 1.221 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.734, allocations: 108.7 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.7341, allocations: 8 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7342, allocations: 15.94 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.7343, allocations: 19.97 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.7343, allocations: 15.98 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001558/0.7345, allocations: 190 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7345, allocations: 0 / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003716/0.7348, allocations: 88 kB / 1.222 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.000161/0.735, allocations: 132.1 kB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007866/0.7358, allocations: 0.6579 MB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7358, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.736, allocations: 143.8 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.7364, allocations: 67.22 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.7372, allocations: 0.5418 MB / 1.223 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.7376, allocations: 0.7609 MB / 1.224 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.7376, allocations: 39.42 kB / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7376, allocations: 0 / 1.224 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.006768/0.7444, allocations: 4.431 MB / 1.228 GB, free: 8.527 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/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