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.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.001427/0.001427, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002092/0.002092, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.607/1.607, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.96/2.96, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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_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 1.974e-06/1.974e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.746e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003399/0.003436, allocations: 1.415 MB / 0.8122 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.006608, allocations: 1.754 MB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.006646, allocations: 1.531 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.008197, allocations: 364.1 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.008267, allocations: 20.62 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.008271, allocations: 3.938 kB / 0.8143 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.00856, allocations: 132.2 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.00861, allocations: 5.688 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.008731, allocations: 59.86 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.008878, allocations: 56.45 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.008897, allocations: 1.125 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.009455, allocations: 171.9 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.009521, allocations: 32.72 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.009614, allocations: 51.84 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.01024, allocations: 303.4 kB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01024, allocations: 0 / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01024, allocations: 1.156 kB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.01025, allocations: 0 / 0.815 GB, free: 13.79 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.0009299/0.01118, allocations: 423 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.01123, allocations: 8.031 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.01146, allocations: 104.1 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.01176, allocations: 224.4 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.01186, allocations: 157.2 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.01198, allocations: 158.9 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.01209, allocations: 101.5 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.01214, allocations: 75.47 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.01223, allocations: 154.7 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.86e-05/0.01232, allocations: 150.6 kB / 0.8165 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.01242, allocations: 159 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.01302, allocations: 472.8 kB / 0.8171 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.01316, allocations: 165.1 kB / 0.8173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.01322, allocations: 80.14 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.01327, allocations: 79.28 kB / 0.8174 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.22e-05/0.01335, allocations: 109.8 kB / 0.8175 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.01335, allocations: 3.938 kB / 0.8175 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0002082/0.01356, allocations: 57.48 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.01365, allocations: 130.6 kB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.01414, allocations: 317.7 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01417, allocations: 26.23 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.01429, allocations: 121 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.01429, allocations: 0 / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.0144, allocations: 66.23 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.01461, allocations: 327.4 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.01472, allocations: 67.95 kB / 0.8186 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.0149, allocations: 123.1 kB / 0.8187 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.01522, allocations: 205.9 kB / 0.8189 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01522, allocations: 0 / 0.8189 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005769/0.0158, allocations: 257.8 kB / 0.8192 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01582, allocations: 4.625 kB / 0.8192 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.01583, allocations: 4 kB / 0.8192 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01585, allocations: 1.969 kB / 0.8192 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.787e-05/0.01587, allocations: 7.938 kB / 0.8192 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01588, allocations: 0 / 0.8192 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.01602, allocations: 31.73 kB / 0.8192 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01603, allocations: 4 kB / 0.8192 GB, free: 9.289 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.0002873/0.01632, allocations: 225.8 kB / 0.8194 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.01643, allocations: 125.7 kB / 0.8195 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.625e-05/0.01653, allocations: 117.8 kB / 0.8197 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/0.01665, allocations: 185.6 kB / 0.8198 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001383/0.01679, allocations: 184.2 kB / 0.82 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/0.01691, allocations: 176.3 kB / 0.8202 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.01729, allocations: 400.8 kB / 0.8206 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.476e-05/0.01736, allocations: 109.8 kB / 0.8207 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.01743, allocations: 104.9 kB / 0.8208 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.01755, allocations: 177.8 kB / 0.8209 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.01768, allocations: 188.2 kB / 0.8211 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001285/0.0178, allocations: 176.3 kB / 0.8213 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000114/0.01792, allocations: 176.5 kB / 0.8215 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01818, allocations: 331.3 kB / 0.8218 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.01829, allocations: 124.8 kB / 0.8219 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.01843, allocations: 188.2 kB / 0.8221 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.01859, allocations: 105 kB / 0.8222 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.01871, allocations: 188.1 kB / 0.8223 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.01878, allocations: 105 kB / 0.8224 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002502/0.01903, allocations: 217.2 kB / 0.8227 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01903, allocations: 0 / 0.8227 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004013/0.01943, allocations: 59.94 kB / 0.8227 GB, free: 5.535 MB / 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.0004723/0.0199, allocations: 273 kB / 0.823 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.0201, allocations: 88.02 kB / 0.8231 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0201, allocations: 0 / 0.8231 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.0201, allocations: 0 / 0.8231 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.02061, allocations: 466.1 kB / 0.8235 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.0215, allocations: 396.9 kB / 0.8239 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.02166, allocations: 127.6 kB / 0.824 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.02169, allocations: 5.641 kB / 0.824 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.02172, allocations: 12.5 kB / 0.824 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.02172, allocations: 0 / 0.824 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of Templates: time 0.007011/0.02873, allocations: 2.312 MB / 0.8263 GB, free: 1.855 MB / 0.7761 GB " [Timeout remaining time 300] 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: 8.507409519981593]