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.0009668/0.0009668, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009926/0.0009926, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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.9806/0.9806, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.794/1.794, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.553e-06/1.553e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.526e-05, allocations: 3.156 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001701/0.001716, allocations: 1.478 MB / 0.813 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.003816, allocations: 2.641 MB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.003841, allocations: 4.969 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.004905, allocations: 0.5697 MB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.004942, allocations: 17.28 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.004945, allocations: 0 / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.005143, allocations: 174.8 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.005182, allocations: 9.875 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.005255, allocations: 83.8 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.005349, allocations: 71.7 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.005359, allocations: 0.625 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005506/0.00591, allocations: 407.2 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.005956, allocations: 31.84 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.006024, allocations: 60.48 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.006428, allocations: 434.1 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00643, allocations: 0.5 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00643, allocations: 1.719 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.006434, allocations: 0 / 0.8173 GB, free: 11.8 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.0005095/0.006943, allocations: 0.5928 MB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.006975, allocations: 9.062 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.007079, allocations: 148 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.007231, allocations: 294.5 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.007284, allocations: 244.3 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.007341, allocations: 242.8 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.251e-05/0.007394, allocations: 149.4 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.00742, allocations: 119.4 kB / 0.8191 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.007469, allocations: 243.3 kB / 0.8193 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.007523, allocations: 239.4 kB / 0.8195 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.007573, allocations: 246.3 kB / 0.8198 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.007927, allocations: 0.6894 MB / 0.8204 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.008002, allocations: 266.2 kB / 0.8207 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.008031, allocations: 126.9 kB / 0.8208 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.008056, allocations: 119.2 kB / 0.8209 GB, free: 8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.008094, allocations: 161.5 kB / 0.8211 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.008095, allocations: 0 / 0.8211 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.008199, allocations: 62.78 kB / 0.8211 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.008248, allocations: 170.6 kB / 0.8213 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.008546, allocations: 486.3 kB / 0.8218 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.008556, allocations: 26.33 kB / 0.8218 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.008634, allocations: 199.3 kB / 0.822 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.008636, allocations: 0.5625 kB / 0.822 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.008717, allocations: 123.3 kB / 0.8221 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.008839, allocations: 0.5293 MB / 0.8226 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.008886, allocations: 40.66 kB / 0.8226 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.008975, allocations: 141.7 kB / 0.8228 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.009136, allocations: 229.5 kB / 0.823 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009138, allocations: 0 / 0.823 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003164/0.009454, allocations: 270 kB / 0.8233 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.009465, allocations: 7.469 kB / 0.8233 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009471, allocations: 0 / 0.8233 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.009482, allocations: 4 kB / 0.8233 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-06/0.009486, allocations: 3.938 kB / 0.8233 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.009494, allocations: 12.05 kB / 0.8233 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.00958, allocations: 47.45 kB / 0.8233 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.009591, allocations: 8 kB / 0.8233 GB, free: 5.395 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.974e-05/0.009691, allocations: 279.8 kB / 0.8236 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.009742, allocations: 173.8 kB / 0.8238 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.009783, allocations: 158.8 kB / 0.8239 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/0.009833, allocations: 268.1 kB / 0.8242 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.263e-05/0.009886, allocations: 269.3 kB / 0.8244 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-05/0.009936, allocations: 268 kB / 0.8247 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.01014, allocations: 0.5896 MB / 0.8253 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/0.01018, allocations: 153.4 kB / 0.8254 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.01021, allocations: 145.8 kB / 0.8255 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.01026, allocations: 268 kB / 0.8258 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.01031, allocations: 268.1 kB / 0.8261 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.213e-05/0.01037, allocations: 277.1 kB / 0.8263 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.713e-05/0.01042, allocations: 268.1 kB / 0.8266 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.01054, allocations: 467.7 kB / 0.827 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.01059, allocations: 177.6 kB / 0.8272 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.01105, allocations: 268 kB / 0.8274 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.01113, allocations: 157.9 kB / 0.8276 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.01118, allocations: 268 kB / 0.8279 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.01121, allocations: 148.9 kB / 0.828 GB, free: 432 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001464/0.01136, allocations: 263.8 kB / 0.8282 GB, free: 172 kB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01136, allocations: 0 / 0.8282 GB, free: 172 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002358/0.0116, allocations: 93.77 kB / 0.8283 GB, free: 80 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.0002586/0.01185, allocations: 352.8 kB / 0.8287 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01198, allocations: 110.6 kB / 0.8288 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01199, allocations: 0 / 0.8288 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01199, allocations: 3.938 kB / 0.8288 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01228, allocations: 0.7161 MB / 0.8295 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.01282, allocations: 487.1 kB / 0.8299 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.01287, allocations: 99.28 kB / 0.83 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.298e-06/0.01288, allocations: 0 / 0.83 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.0129, allocations: 12.5 kB / 0.8301 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of SimCode: time 5.01e-07/0.0129, allocations: 0 / 0.8301 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of Templates: time 0.005814/0.01871, allocations: 4.374 MB / 0.8343 GB, free: 9.906 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.883067559916526]