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.001721/0.001721, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001969/0.001969, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.799/2.799, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.91 kB / 0.8688 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.727, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.003085/0.7301, allocations: 1.084 MB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.7329, allocations: 1.463 MB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.7331, allocations: 7.938 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.7333, allocations: 11.86 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.7334, allocations: 31.72 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.7349, allocations: 437.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007135/0.7357, allocations: 0.5271 MB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.736, allocations: 127.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.7363, allocations: 207.5 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.7367, allocations: 167.4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.521e-05/0.7368, allocations: 52 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.7369, allocations: 67.92 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.7371, allocations: 59.83 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.7374, allocations: 199.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006518/0.7381, allocations: 0.5005 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.7381, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7381, allocations: 3.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.7381, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 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.001137/0.7393, allocations: 0.6928 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.7393, allocations: 15.97 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.7394, allocations: 36.66 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.7405, allocations: 368 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.7406, allocations: 28.75 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.7406, allocations: 36.38 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.7411, allocations: 236.8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.7412, allocations: 3.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.7412, allocations: 8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.7412, allocations: 8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.7415, allocations: 143.2 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.7429, allocations: 0.7654 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.7432, allocations: 182.4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.7435, allocations: 218.2 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.7435, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.7439, allocations: 234 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 3.837e-06/0.7439, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0008693/0.7448, allocations: 427.7 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.7449, allocations: 114.8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.7453, allocations: 286.4 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.7454, allocations: 41.64 kB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.7456, allocations: 160.7 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.7456, allocations: 63.25 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.7459, allocations: 141.5 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7461, allocations: 342.8 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.7465, allocations: 200.7 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.747, allocations: 323.9 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.7478, allocations: 0.5193 MB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.7478, allocations: 4 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001257/0.7491, allocations: 0.7089 MB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.7492, allocations: 126.7 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.7492, allocations: 4 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.7493, allocations: 11.98 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7494, allocations: 23.92 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.7494, allocations: 4 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.7501, allocations: 131.8 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.7502, allocations: 67.86 kB / 1.028 GB, free: 6.797 MB / 0.7794 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.0002559/0.7505, allocations: 190.2 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.7506, allocations: 27.62 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.7513, allocations: 368.5 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7513, allocations: 4 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7513, allocations: 3.938 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7513, allocations: 0 / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.7523, allocations: 0.7167 MB / 1.029 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7523, allocations: 0 / 1.029 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.7524, allocations: 19.92 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.7524, allocations: 7.938 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.7525, allocations: 8 kB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.7525, allocations: 7.938 kB / 1.029 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7525, allocations: 0 / 1.029 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.753, allocations: 419.6 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.7531, allocations: 104.8 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.7531, allocations: 8 kB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7533, allocations: 19.91 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.7533, allocations: 15.98 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.7534, allocations: 15.98 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002054/0.7536, allocations: 186 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.415e-06/0.7536, allocations: 0 / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004054/0.754, allocations: 91.84 kB / 1.03 GB, free: 4.512 MB / 0.7794 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.0002283/0.7542, allocations: 125.5 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7553, allocations: 0.6886 MB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7553, allocations: 0.8125 kB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.7556, allocations: 147.8 kB / 1.031 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.756, allocations: 68.45 kB / 1.031 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.757, allocations: 0.5735 MB / 1.032 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.7575, allocations: 0.757 MB / 1.032 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.7577, allocations: 66.91 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.7577, allocations: 39.44 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.7577, allocations: 0 / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.01175/0.7695, allocations: 4.957 MB / 1.037 GB, free: 13.05 MB / 0.795 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=400 -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