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.001476/0.001476, 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.001143/0.001143, allocations: 169 kB / 24.28 MB, free: 280 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.9817/0.9817, 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.831/1.831, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.642e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002297/0.002313, allocations: 1.468 MB / 0.8129 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.005583, allocations: 2.635 MB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.005616, allocations: 0 / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.007098, allocations: 0.5505 MB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-05/0.007154, allocations: 21.14 kB / 0.8161 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.007158, allocations: 0 / 0.8161 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.007433, allocations: 174.8 kB / 0.8162 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.007488, allocations: 8.594 kB / 0.8162 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.007595, allocations: 85.59 kB / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.00773, allocations: 59.84 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.007746, allocations: 3.938 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/0.008601, allocations: 404.2 kB / 0.8168 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.008666, allocations: 39.78 kB / 0.8168 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.008761, allocations: 63.84 kB / 0.8169 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.009373, allocations: 434.1 kB / 0.8173 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.009375, allocations: 0 / 0.8173 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.009376, allocations: 0.8125 kB / 0.8173 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.009381, allocations: 0 / 0.8173 GB, free: 12.19 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.0007093/0.01009, allocations: 0.59 MB / 0.8179 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.01013, allocations: 12.58 kB / 0.8179 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.01029, allocations: 144 kB / 0.818 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.01078, allocations: 295.7 kB / 0.8183 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.01086, allocations: 246.8 kB / 0.8185 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.01093, allocations: 242.8 kB / 0.8188 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.91e-05/0.011, allocations: 146.1 kB / 0.8189 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.01104, allocations: 119.4 kB / 0.819 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.0111, allocations: 239.3 kB / 0.8192 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.517e-05/0.01118, allocations: 242.8 kB / 0.8195 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.01125, allocations: 252.3 kB / 0.8197 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.01165, allocations: 0.6889 MB / 0.8204 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.082e-05/0.01174, allocations: 261.4 kB / 0.8206 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.01178, allocations: 126.9 kB / 0.8208 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.01182, allocations: 123.2 kB / 0.8209 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.01187, allocations: 157.1 kB / 0.821 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01187, allocations: 0.8125 kB / 0.821 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001706/0.01204, allocations: 57.45 kB / 0.8211 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.0121, allocations: 171.5 kB / 0.8212 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.01256, allocations: 482.4 kB / 0.8217 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.01257, allocations: 29.7 kB / 0.8217 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.01268, allocations: 200.7 kB / 0.8219 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.01268, allocations: 0 / 0.8219 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.01281, allocations: 127.3 kB / 0.822 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.01298, allocations: 0.5283 MB / 0.8226 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.01304, allocations: 40.66 kB / 0.8226 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.01318, allocations: 145.7 kB / 0.8227 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01341, allocations: 227.9 kB / 0.823 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01341, allocations: 0 / 0.823 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003567/0.01377, allocations: 273.1 kB / 0.8232 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01378, allocations: 4 kB / 0.8232 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.01379, allocations: 0 / 0.8232 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.0138, allocations: 4.906 kB / 0.8232 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-06/0.0138, allocations: 7.984 kB / 0.8232 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.01381, allocations: 0 / 0.8232 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.973e-05/0.01391, allocations: 52.5 kB / 0.8233 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01392, allocations: 4 kB / 0.8233 GB, free: 5.793 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.000107/0.01402, allocations: 288.8 kB / 0.8236 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.01408, allocations: 172.8 kB / 0.8237 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.01412, allocations: 151.9 kB / 0.8239 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/0.01417, allocations: 272 kB / 0.8241 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/0.01423, allocations: 272.1 kB / 0.8244 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-05/0.01429, allocations: 272.9 kB / 0.8246 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01451, allocations: 0.5819 MB / 0.8252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/0.01455, allocations: 153.4 kB / 0.8254 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.01463, allocations: 148.9 kB / 0.8255 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-05/0.01468, allocations: 264.6 kB / 0.8258 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.01473, allocations: 277.5 kB / 0.826 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.292e-05/0.01479, allocations: 268.1 kB / 0.8263 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.953e-05/0.01484, allocations: 268 kB / 0.8265 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.01496, allocations: 467.8 kB / 0.827 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.01502, allocations: 177.5 kB / 0.8271 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.01509, allocations: 268.1 kB / 0.8274 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.01517, allocations: 148.8 kB / 0.8275 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.01523, allocations: 269.2 kB / 0.8278 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.01526, allocations: 148.9 kB / 0.8279 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001552/0.01542, allocations: 267.1 kB / 0.8282 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01542, allocations: 0.5312 kB / 0.8282 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002549/0.01567, allocations: 88.47 kB / 0.8283 GB, free: 492 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.0002869/0.01596, allocations: 366.1 kB / 0.8286 GB, free: 128 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.0161, allocations: 112.9 kB / 0.8287 GB, free: 12 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0161, allocations: 0 / 0.8287 GB, free: 12 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.0161, allocations: 0 / 0.8287 GB, free: 12 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01644, allocations: 0.7097 MB / 0.8294 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.01705, allocations: 491.4 kB / 0.8299 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.434e-05/0.01711, allocations: 103.3 kB / 0.83 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.065e-05/0.01712, allocations: 0 / 0.83 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.01714, allocations: 12.5 kB / 0.83 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/0.01714, allocations: 0 / 0.83 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of Templates: time 0.00504/0.02218, allocations: 3.064 MB / 0.833 GB, free: 11.62 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: 5.0813511710148305]