Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0009656/0.0009656, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009282/0.0009282, allocations: 181.3 kB / 24.09 MB, free: 420 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.964/0.964, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.829/1.829, allocations: 377.9 MB / 0.624 GB, free: 8.391 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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.348e-05, allocations: 3.516 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002264/0.002278, allocations: 1.476 MB / 0.8134 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.005149, allocations: 2.602 MB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.00518, allocations: 0 / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.006219, allocations: 0.5702 MB / 0.8165 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.006254, allocations: 25.41 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.006257, allocations: 0 / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.006445, allocations: 166.8 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.006489, allocations: 13.69 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.006564, allocations: 79.78 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.006653, allocations: 63.83 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.006667, allocations: 4.531 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.007186, allocations: 411 kB / 0.8173 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.007226, allocations: 40.62 kB / 0.8173 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.007276, allocations: 51.88 kB / 0.8173 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.007657, allocations: 439.4 kB / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.007659, allocations: 0 / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/0.00766, allocations: 0 / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.007663, allocations: 0 / 0.8178 GB, free: 11.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.0004895/0.008153, allocations: 0.5982 MB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.008185, allocations: 8.031 kB / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.008282, allocations: 144 kB / 0.8185 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.008414, allocations: 296 kB / 0.8188 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.008467, allocations: 246.7 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.008528, allocations: 242.8 kB / 0.8192 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.266e-05/0.008581, allocations: 145.5 kB / 0.8194 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.008608, allocations: 124.4 kB / 0.8195 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.008662, allocations: 242.8 kB / 0.8197 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.008712, allocations: 238.8 kB / 0.82 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.00876, allocations: 249.5 kB / 0.8202 GB, free: 9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.009155, allocations: 0.627 MB / 0.8208 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.009225, allocations: 261.4 kB / 0.8211 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.009253, allocations: 130.8 kB / 0.8212 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.009277, allocations: 119.2 kB / 0.8213 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.009316, allocations: 160.6 kB / 0.8214 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.009317, allocations: 0 / 0.8214 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.009418, allocations: 53.52 kB / 0.8215 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.00946, allocations: 175.1 kB / 0.8217 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.009723, allocations: 483.3 kB / 0.8221 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.009733, allocations: 25.7 kB / 0.8221 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.009807, allocations: 203.3 kB / 0.8223 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.009809, allocations: 1.188 kB / 0.8223 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.009889, allocations: 123.2 kB / 0.8225 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01002, allocations: 0.5312 MB / 0.823 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.01005, allocations: 33.14 kB / 0.823 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.01014, allocations: 137.7 kB / 0.8231 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.01027, allocations: 214.4 kB / 0.8233 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01028, allocations: 0 / 0.8233 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002749/0.01055, allocations: 242.2 kB / 0.8236 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01056, allocations: 8 kB / 0.8236 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01057, allocations: 0 / 0.8236 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01058, allocations: 5.344 kB / 0.8236 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-06/0.01059, allocations: 3.938 kB / 0.8236 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01059, allocations: 4 kB / 0.8236 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.01067, allocations: 48.61 kB / 0.8236 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01068, allocations: 7.938 kB / 0.8237 GB, free: 5.273 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 9.725e-05/0.01078, allocations: 280.4 kB / 0.8239 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.01083, allocations: 175.1 kB / 0.8241 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.01088, allocations: 158.8 kB / 0.8242 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.927e-05/0.01092, allocations: 264.1 kB / 0.8245 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/0.01098, allocations: 272 kB / 0.8247 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.195e-05/0.01103, allocations: 268.1 kB / 0.825 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.01121, allocations: 0.5355 MB / 0.8255 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/0.01124, allocations: 144.9 kB / 0.8257 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.01127, allocations: 151.9 kB / 0.8258 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-05/0.01133, allocations: 272 kB / 0.8261 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.01138, allocations: 264.1 kB / 0.8263 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.141e-05/0.01143, allocations: 276.1 kB / 0.8266 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-05/0.01148, allocations: 268.1 kB / 0.8268 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.0116, allocations: 471.7 kB / 0.8273 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.01166, allocations: 172.7 kB / 0.8275 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.01172, allocations: 268 kB / 0.8277 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.01195, allocations: 153.7 kB / 0.8279 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.01201, allocations: 268.1 kB / 0.8281 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.01204, allocations: 153.9 kB / 0.8283 GB, free: 376 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001128/0.01215, allocations: 251 kB / 0.8285 GB, free: 132 kB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 0 / 0.8285 GB, free: 132 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002259/0.01237, allocations: 85 kB / 0.8286 GB, free: 48 kB / 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.0002568/0.01263, allocations: 372 kB / 0.8289 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.01274, allocations: 100.8 kB / 0.829 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01274, allocations: 0 / 0.829 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.01274, allocations: 3.938 kB / 0.829 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.01303, allocations: 0.7193 MB / 0.8297 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.01351, allocations: 491.5 kB / 0.8302 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.01355, allocations: 95.28 kB / 0.8303 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.815e-06/0.01356, allocations: 4 kB / 0.8303 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.0136, allocations: 78.19 kB / 0.8304 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of SimCode: time 4.31e-07/0.0136, allocations: 0 / 0.8304 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of Templates: time 0.005701/0.0193, allocations: 4.378 MB / 0.8346 GB, free: 9.766 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.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.934550216887146]