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.001906/0.001906, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002109/0.002109, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.625/1.625, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.169/3.169, allocations: 377.8 MB / 0.6232 GB, free: 8.539 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 2.063e-06/2.063e-06, allocations: 0 / 0.8108 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.931e-05/4.138e-05, allocations: 3.062 kB / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003002/0.003044, allocations: 1.446 MB / 0.8122 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.006089, allocations: 1.913 MB / 0.8141 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.006121, allocations: 0 / 0.8141 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.007276, allocations: 369.1 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.007334, allocations: 15.91 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.255e-06/0.007342, allocations: 4.625 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.007638, allocations: 131 kB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.007692, allocations: 10.36 kB / 0.8146 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.007803, allocations: 59.81 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.007946, allocations: 52.58 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.007966, allocations: 0.5 kB / 0.8147 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.008394, allocations: 176.6 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.008449, allocations: 29.28 kB / 0.8149 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.008545, allocations: 55.84 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.009076, allocations: 298.8 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.00908, allocations: 0 / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009082, allocations: 1.75 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.009088, allocations: 0 / 0.8152 GB, free: 13.65 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.0009122/0.01, allocations: 0.5226 MB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.01004, allocations: 13.25 kB / 0.8157 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.01023, allocations: 140 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.01054, allocations: 279 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.01067, allocations: 239.7 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.01081, allocations: 246.8 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.01092, allocations: 147.7 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.706e-05/0.01098, allocations: 119.4 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.01112, allocations: 246.5 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.01125, allocations: 242.4 kB / 0.8173 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.0114, allocations: 238.4 kB / 0.8175 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.01199, allocations: 0.6499 MB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.01218, allocations: 264.6 kB / 0.8184 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/0.01226, allocations: 130.9 kB / 0.8185 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.177e-05/0.01233, allocations: 119.2 kB / 0.8187 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.01244, allocations: 156.6 kB / 0.8188 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.01244, allocations: 0 / 0.8188 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0002041/0.01264, allocations: 57.48 kB / 0.8189 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.01276, allocations: 174.5 kB / 0.819 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.01325, allocations: 396.1 kB / 0.8194 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01327, allocations: 29.7 kB / 0.8194 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.01342, allocations: 176.4 kB / 0.8196 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.01342, allocations: 0 / 0.8196 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01354, allocations: 87.33 kB / 0.8197 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005208/0.01406, allocations: 0.5125 MB / 0.8202 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.01411, allocations: 20.56 kB / 0.8202 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01425, allocations: 113.6 kB / 0.8203 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.01447, allocations: 158.6 kB / 0.8205 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01447, allocations: 0 / 0.8205 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004328/0.0149, allocations: 186.4 kB / 0.8206 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01492, allocations: 4 kB / 0.8207 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.01493, allocations: 8.797 kB / 0.8207 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.01495, allocations: 0 / 0.8207 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-06/0.01496, allocations: 7.938 kB / 0.8207 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.01496, allocations: 4.875 kB / 0.8207 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01509, allocations: 35.67 kB / 0.8207 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.0151, allocations: 4.656 kB / 0.8207 GB, free: 7.746 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.0002527/0.01536, allocations: 304.6 kB / 0.821 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.01548, allocations: 173.8 kB / 0.8212 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.01559, allocations: 153.7 kB / 0.8213 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001591/0.01575, allocations: 272 kB / 0.8216 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001513/0.0159, allocations: 268 kB / 0.8218 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001527/0.01605, allocations: 273.1 kB / 0.8221 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.01651, allocations: 0.5545 MB / 0.8226 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.769e-05/0.0166, allocations: 146 kB / 0.8228 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.01669, allocations: 148.8 kB / 0.8229 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.01684, allocations: 264.1 kB / 0.8232 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.01698, allocations: 269.2 kB / 0.8234 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001562/0.01714, allocations: 272 kB / 0.8237 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001549/0.01729, allocations: 272.1 kB / 0.8239 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.0176, allocations: 461.1 kB / 0.8244 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.01772, allocations: 172.7 kB / 0.8245 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.01789, allocations: 264.1 kB / 0.8248 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.01806, allocations: 145.5 kB / 0.8249 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.01823, allocations: 281.3 kB / 0.8252 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/0.01832, allocations: 148.9 kB / 0.8253 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002701/0.01859, allocations: 245.1 kB / 0.8256 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01859, allocations: 0 / 0.8256 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004002/0.01899, allocations: 69.58 kB / 0.8256 GB, free: 2.512 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.0004611/0.01945, allocations: 321.6 kB / 0.8259 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.01964, allocations: 71.61 kB / 0.826 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.01965, allocations: 7.938 kB / 0.826 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.01965, allocations: 448 / 0.826 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.0203, allocations: 0.7092 MB / 0.8267 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.02095, allocations: 434.5 kB / 0.8271 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.02136, allocations: 118.9 kB / 0.8272 GB, free: 0.8008 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.02138, allocations: 4 kB / 0.8273 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.02141, allocations: 8.5 kB / 0.8273 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.02141, allocations: 3.938 kB / 0.8273 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of Templates: time 0.008324/0.02973, allocations: 2.32 MB / 0.8295 GB, free: 14.49 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] 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.782430273946375]