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.000966/0.000966, 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.000932/0.000932, allocations: 161 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.9691/0.9691, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.896/1.896, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.793e-06/1.793e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/3.721e-05, allocations: 10.12 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00312/0.003157, allocations: 1.478 MB / 0.813 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.006947, allocations: 2.635 MB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.006993, allocations: 0.7812 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.008907, allocations: 0.5556 MB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.00898, allocations: 19.84 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.795e-06/0.008988, allocations: 0 / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.009277, allocations: 174.8 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.009335, allocations: 13.19 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.009468, allocations: 80.73 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.00962, allocations: 67.77 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.009638, allocations: 0.5 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00098/0.01062, allocations: 404 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.01069, allocations: 39.78 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.01079, allocations: 55.86 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.01152, allocations: 438.1 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01153, allocations: 4.531 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01153, allocations: 0 / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.01154, allocations: 0.7188 kB / 0.8173 GB, free: 11.83 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.0008976/0.01244, allocations: 0.586 MB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.01248, allocations: 8.031 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.01266, allocations: 149.1 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.01292, allocations: 302.4 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.013, allocations: 242.8 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.01308, allocations: 243.7 kB / 0.8188 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.01316, allocations: 145.5 kB / 0.8189 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.0132, allocations: 120.2 kB / 0.819 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.01328, allocations: 242.8 kB / 0.8193 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/0.01335, allocations: 245 kB / 0.8195 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.01343, allocations: 242.3 kB / 0.8197 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.01389, allocations: 0.6927 MB / 0.8204 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.014, allocations: 261.4 kB / 0.8207 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.01404, allocations: 126.9 kB / 0.8208 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.01408, allocations: 127.2 kB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.01414, allocations: 155.4 kB / 0.8211 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.01414, allocations: 0 / 0.8211 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001839/0.01432, allocations: 61.44 kB / 0.8211 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.01439, allocations: 174.5 kB / 0.8213 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.01486, allocations: 482.4 kB / 0.8217 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01488, allocations: 29.7 kB / 0.8218 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.015, allocations: 195.3 kB / 0.822 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.015, allocations: 1.469 kB / 0.822 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.01513, allocations: 123.3 kB / 0.8221 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.01531, allocations: 0.5274 MB / 0.8226 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.0154, allocations: 40.66 kB / 0.8226 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01554, allocations: 150.7 kB / 0.8228 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.0158, allocations: 221.6 kB / 0.823 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.0158, allocations: 0 / 0.823 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005238/0.01632, allocations: 274.2 kB / 0.8232 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.01635, allocations: 4 kB / 0.8232 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.01636, allocations: 4.719 kB / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01638, allocations: 0 / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-06/0.01639, allocations: 5.875 kB / 0.8233 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.0164, allocations: 4.062 kB / 0.8233 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.01658, allocations: 47.45 kB / 0.8233 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.01659, allocations: 11.98 kB / 0.8233 GB, free: 5.43 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.0001995/0.01679, allocations: 285 kB / 0.8236 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.01691, allocations: 168.8 kB / 0.8237 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.017, allocations: 158.8 kB / 0.8239 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.549e-05/0.01709, allocations: 273.1 kB / 0.8242 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.59e-05/0.01719, allocations: 264.1 kB / 0.8244 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/0.0173, allocations: 272 kB / 0.8247 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.0177, allocations: 0.5903 MB / 0.8252 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.267e-05/0.01776, allocations: 144.9 kB / 0.8254 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.0178, allocations: 153.4 kB / 0.8255 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.516e-05/0.01788, allocations: 267.8 kB / 0.8258 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/0.01796, allocations: 272 kB / 0.826 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.861e-05/0.01804, allocations: 272.1 kB / 0.8263 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.956e-05/0.01812, allocations: 272 kB / 0.8266 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.01832, allocations: 463.8 kB / 0.827 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.01841, allocations: 176.6 kB / 0.8272 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.01851, allocations: 268.1 kB / 0.8274 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.01866, allocations: 152.8 kB / 0.8276 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.01875, allocations: 272 kB / 0.8278 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.01879, allocations: 148.9 kB / 0.828 GB, free: 468 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002691/0.01906, allocations: 264.6 kB / 0.8282 GB, free: 208 kB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01906, allocations: 0 / 0.8282 GB, free: 208 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005008/0.01956, allocations: 87.88 kB / 0.8283 GB, free: 120 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.0005105/0.02007, allocations: 359.2 kB / 0.8287 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.0203, allocations: 109.2 kB / 0.8288 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.0203, allocations: 4.125 kB / 0.8288 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.02031, allocations: 0 / 0.8288 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.02083, allocations: 0.7154 MB / 0.8295 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.02173, allocations: 487 kB / 0.8299 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.02181, allocations: 99.28 kB / 0.83 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.345e-05/0.02182, allocations: 0 / 0.83 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.02184, allocations: 12.5 kB / 0.83 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of SimCode: time 6.92e-07/0.02184, allocations: 0 / 0.83 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of Templates: time 0.007728/0.02957, allocations: 3.054 MB / 0.833 GB, free: 11.26 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.36171262525022]