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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 190 kB / 22.1 MB, free: 4.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.084/3.084, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 71.89 kB / 1.137 GB, free: 12.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415/1.417, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002657/1.42, allocations: 1.418 MB / 1.308 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002052/1.422, allocations: 1.955 MB / 1.31 GB, free: 31.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/1.422, allocations: 0 / 1.31 GB, free: 31.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/1.423, allocations: 392.7 kB / 1.31 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/1.423, allocations: 22.5 kB / 1.31 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/1.423, allocations: 0 / 1.31 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/1.423, allocations: 117.6 kB / 1.311 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/1.423, allocations: 7.25 kB / 1.311 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/1.423, allocations: 51.92 kB / 1.311 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/1.424, allocations: 65.59 kB / 1.311 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/1.424, allocations: 6.875 kB / 1.311 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/1.424, allocations: 180 kB / 1.311 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/1.424, allocations: 29.5 kB / 1.311 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/1.424, allocations: 74.03 kB / 1.311 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/1.424, allocations: 286.8 kB / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.424, allocations: 0 / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.424, allocations: 0 / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.425, allocations: 0 / 1.311 GB, free: 30.92 MB / 1.061 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.0007186/1.425, allocations: 437.9 kB / 1.312 GB, free: 30.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.425, allocations: 8.688 kB / 1.312 GB, free: 30.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/1.425, allocations: 95.66 kB / 1.312 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.426, allocations: 234.6 kB / 1.312 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/1.426, allocations: 150.9 kB / 1.312 GB, free: 30.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/1.426, allocations: 158 kB / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.189e-05/1.426, allocations: 109.1 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.426, allocations: 75.28 kB / 1.312 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/1.426, allocations: 150.6 kB / 1.313 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/1.426, allocations: 161.3 kB / 1.313 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/1.426, allocations: 150.6 kB / 1.313 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/1.426, allocations: 495.1 kB / 1.313 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/1.426, allocations: 167.8 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/1.426, allocations: 84.19 kB / 1.314 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/1.426, allocations: 75.28 kB / 1.314 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.426, allocations: 121.7 kB / 1.314 GB, free: 28.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/1.426, allocations: 3.031 kB / 1.314 GB, free: 28.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001642/1.426, allocations: 49.31 kB / 1.314 GB, free: 28.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/1.426, allocations: 126.7 kB / 1.314 GB, free: 28.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/1.427, allocations: 319.5 kB / 1.314 GB, free: 28.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/1.427, allocations: 29.7 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/1.427, allocations: 119.6 kB / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/1.427, allocations: 0 / 1.314 GB, free: 27.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/1.427, allocations: 66.09 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/1.427, allocations: 330.2 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/1.427, allocations: 66 kB / 1.315 GB, free: 27.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/1.427, allocations: 114.5 kB / 1.315 GB, free: 27.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/1.427, allocations: 212.3 kB / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.427, allocations: 0 / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003825/1.428, allocations: 235.5 kB / 1.315 GB, free: 27.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.428, allocations: 5.844 kB / 1.315 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.428, allocations: 3.375 kB / 1.315 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.428, allocations: 0 / 1.315 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/1.428, allocations: 2.969 kB / 1.315 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.428, allocations: 2.938 kB / 1.315 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/1.428, allocations: 33.58 kB / 1.315 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/1.428, allocations: 7.156 kB / 1.315 GB, free: 27.18 MB / 1.061 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.000177/1.428, allocations: 233.5 kB / 1.316 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/1.428, allocations: 122.6 kB / 1.316 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/1.428, allocations: 116.3 kB / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.428, allocations: 180.2 kB / 1.316 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/1.428, allocations: 183 kB / 1.316 GB, free: 26.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.261e-05/1.428, allocations: 180.2 kB / 1.316 GB, free: 26.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/1.428, allocations: 418.6 kB / 1.317 GB, free: 25.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.428, allocations: 104.4 kB / 1.317 GB, free: 25.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/1.428, allocations: 115.8 kB / 1.317 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/1.429, allocations: 176.3 kB / 1.317 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/1.429, allocations: 188.1 kB / 1.317 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.371e-05/1.429, allocations: 182.4 kB / 1.318 GB, free: 24.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-05/1.429, allocations: 180.3 kB / 1.318 GB, free: 24.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.126e-05/1.429, allocations: 316.4 kB / 1.318 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/1.429, allocations: 138 kB / 1.318 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/1.429, allocations: 183.2 kB / 1.318 GB, free: 24.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/1.429, allocations: 104.4 kB / 1.318 GB, free: 24.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/1.429, allocations: 184.2 kB / 1.319 GB, free: 23.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/1.429, allocations: 103.9 kB / 1.319 GB, free: 23.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001637/1.429, allocations: 213.8 kB / 1.319 GB, free: 23.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.429, allocations: 4 kB / 1.319 GB, free: 23.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003437/1.429, allocations: 66.66 kB / 1.319 GB, free: 23.64 MB / 1.061 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.0002875/1.43, allocations: 266.8 kB / 1.319 GB, free: 23.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001689/1.43, allocations: 83.92 kB / 1.319 GB, free: 23.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.43, allocations: 2.719 kB / 1.319 GB, free: 23.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-06/1.43, allocations: 3.469 kB / 1.319 GB, free: 23.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.43, allocations: 459 kB / 1.32 GB, free: 22.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/1.431, allocations: 402.6 kB / 1.32 GB, free: 22.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/1.431, allocations: 0.7366 MB / 1.321 GB, free: 21.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.886e-05/1.431, allocations: 6.562 kB / 1.321 GB, free: 21.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/1.431, allocations: 10.31 kB / 1.321 GB, free: 21.98 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.431, allocations: 3.938 kB / 1.321 GB, free: 21.98 MB / 1.061 GB Notification: Performance of Templates: time 0.006449/1.437, allocations: 2.321 MB / 1.323 GB, free: 21.66 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.565542564727366]