Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 169 kB / 24.28 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9904/0.9904, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.846/1.846, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.834e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002769/0.002797, allocations: 1.46 MB / 0.8129 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.005132, allocations: 1.916 MB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.005168, allocations: 0.7812 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.006211, allocations: 374 kB / 0.8152 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.006261, allocations: 15.86 kB / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.067e-06/0.006265, allocations: 0 / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.00652, allocations: 135 kB / 0.8153 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.006571, allocations: 6.531 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.006663, allocations: 63.86 kB / 0.8154 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.006777, allocations: 52.53 kB / 0.8154 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.006796, allocations: 4.625 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.007173, allocations: 172.4 kB / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.007227, allocations: 36.41 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.007301, allocations: 52.42 kB / 0.8157 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.007749, allocations: 286.9 kB / 0.8159 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007752, allocations: 1.375 kB / 0.8159 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007753, allocations: 0 / 0.8159 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.007757, allocations: 0 / 0.8159 GB, free: 13.56 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006999/0.008457, allocations: 0.5177 MB / 0.8165 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.008498, allocations: 8.031 kB / 0.8165 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.008672, allocations: 148 kB / 0.8166 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.008882, allocations: 271.1 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.008965, allocations: 242.8 kB / 0.8171 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.009038, allocations: 238.8 kB / 0.8173 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.009113, allocations: 153.9 kB / 0.8175 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.009149, allocations: 124.1 kB / 0.8176 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.009224, allocations: 242.5 kB / 0.8178 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.419e-05/0.009299, allocations: 238.9 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.00937, allocations: 243.1 kB / 0.8183 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.009756, allocations: 0.6499 MB / 0.8189 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.009864, allocations: 274.3 kB / 0.8192 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.009911, allocations: 126.9 kB / 0.8193 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.009945, allocations: 119.2 kB / 0.8194 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.01, allocations: 153.7 kB / 0.8196 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.01, allocations: 0 / 0.8196 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001692/0.01017, allocations: 49.59 kB / 0.8196 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.01024, allocations: 175.4 kB / 0.8198 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.01057, allocations: 372.1 kB / 0.8201 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.01058, allocations: 31.92 kB / 0.8202 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.01068, allocations: 175.2 kB / 0.8203 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.01068, allocations: 0 / 0.8203 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.01077, allocations: 87.33 kB / 0.8204 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01094, allocations: 0.5119 MB / 0.8209 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.01099, allocations: 24 kB / 0.8209 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.0111, allocations: 116.4 kB / 0.821 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.01127, allocations: 161.7 kB / 0.8212 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01128, allocations: 4 kB / 0.8212 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003944/0.01167, allocations: 181.4 kB / 0.8214 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01169, allocations: 8 kB / 0.8214 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01169, allocations: 0 / 0.8214 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01171, allocations: 7.984 kB / 0.8214 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.01172, allocations: 5.469 kB / 0.8214 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01172, allocations: 7.938 kB / 0.8214 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01184, allocations: 27.67 kB / 0.8214 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.01185, allocations: 4 kB / 0.8214 GB, free: 7.688 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001278/0.01198, allocations: 284.9 kB / 0.8217 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.01206, allocations: 169.7 kB / 0.8219 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.01212, allocations: 157.7 kB / 0.822 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/0.0122, allocations: 264.1 kB / 0.8223 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.783e-05/0.01227, allocations: 276.6 kB / 0.8225 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-05/0.01235, allocations: 268.1 kB / 0.8228 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.01263, allocations: 0.5524 MB / 0.8233 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.01267, allocations: 144.9 kB / 0.8235 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.01271, allocations: 148.9 kB / 0.8236 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.293e-05/0.0128, allocations: 272 kB / 0.8239 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.01287, allocations: 268.1 kB / 0.8241 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/0.01294, allocations: 281.3 kB / 0.8244 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-05/0.01301, allocations: 264.1 kB / 0.8246 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.01318, allocations: 468.1 kB / 0.8251 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.01325, allocations: 165.8 kB / 0.8252 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.01335, allocations: 272 kB / 0.8255 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.01348, allocations: 144.9 kB / 0.8256 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.01356, allocations: 268.7 kB / 0.8259 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.0136, allocations: 160.8 kB / 0.826 GB, free: 2.766 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001781/0.01378, allocations: 217.8 kB / 0.8263 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01378, allocations: 0 / 0.8263 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003763/0.01416, allocations: 71.7 kB / 0.8263 GB, free: 2.492 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003084/0.01447, allocations: 322 kB / 0.8266 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01462, allocations: 69.2 kB / 0.8267 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01462, allocations: 0 / 0.8267 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.01462, allocations: 4 kB / 0.8267 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.01508, allocations: 0.7132 MB / 0.8274 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.01583, allocations: 407.4 kB / 0.8278 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.0159, allocations: 79.31 kB / 0.8279 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.01592, allocations: 0 / 0.8279 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.01594, allocations: 8.5 kB / 0.8279 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01594, allocations: 0 / 0.8279 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of Templates: time 0.005675/0.02162, allocations: 2.314 MB / 0.8301 GB, free: 14.55 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.932947368128225]