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.002528/0.002528, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002806/0.002806, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.681/1.681, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.112/3.112, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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_med,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_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.88e-05, allocations: 5.766 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00301/0.003039, allocations: 1.454 MB / 0.8122 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.007215, allocations: 2.623 MB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.007249, allocations: 4 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.008966, allocations: 0.5521 MB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.009027, allocations: 23.78 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.659e-06/0.009032, allocations: 0 / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.00936, allocations: 172.1 kB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.009416, allocations: 8.594 kB / 0.8155 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.009609, allocations: 87.73 kB / 0.8156 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.009818, allocations: 60.48 kB / 0.8156 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.009841, allocations: 4 kB / 0.8156 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.0112, allocations: 407.2 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.01127, allocations: 35.84 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.01137, allocations: 61.55 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.01211, allocations: 458.1 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01211, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01211, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.01212, allocations: 0.875 kB / 0.8166 GB, free: 12.23 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.0009728/0.01309, allocations: 0.5841 MB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01313, allocations: 12.03 kB / 0.8171 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.01334, allocations: 147.9 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.01365, allocations: 294.5 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.01378, allocations: 242.8 kB / 0.8178 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.01393, allocations: 250.7 kB / 0.818 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.01404, allocations: 145.5 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.259e-05/0.01411, allocations: 119.4 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.01425, allocations: 246.7 kB / 0.8185 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.01438, allocations: 243.3 kB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01451, allocations: 244.2 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.01513, allocations: 0.685 MB / 0.8197 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.01533, allocations: 269.4 kB / 0.8199 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.0154, allocations: 134.9 kB / 0.82 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-05/0.01547, allocations: 119.2 kB / 0.8202 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.213e-05/0.01556, allocations: 153.7 kB / 0.8203 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.01557, allocations: 0 / 0.8203 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001834/0.01575, allocations: 57.45 kB / 0.8204 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.01585, allocations: 171.5 kB / 0.8205 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/0.01652, allocations: 0.5296 MB / 0.821 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01654, allocations: 25.7 kB / 0.8211 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.01672, allocations: 196.2 kB / 0.8213 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.01672, allocations: 0 / 0.8213 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.01688, allocations: 120.7 kB / 0.8214 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003507/0.01723, allocations: 0.5274 MB / 0.8219 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.01731, allocations: 44.62 kB / 0.8219 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.0175, allocations: 143.8 kB / 0.8221 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.0178, allocations: 213.5 kB / 0.8223 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.0178, allocations: 0 / 0.8223 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005507/0.01835, allocations: 265.1 kB / 0.8225 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01837, allocations: 4 kB / 0.8225 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01838, allocations: 7.281 kB / 0.8225 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01839, allocations: 0 / 0.8225 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.0184, allocations: 4 kB / 0.8225 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.0184, allocations: 4 kB / 0.8225 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.01856, allocations: 43.5 kB / 0.8226 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01857, allocations: 8 kB / 0.8226 GB, free: 5.809 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.0006174/0.01919, allocations: 319.7 kB / 0.8229 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.01932, allocations: 181.6 kB / 0.8231 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.01944, allocations: 154.8 kB / 0.8232 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001691/0.0196, allocations: 272 kB / 0.8235 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000162/0.01977, allocations: 265.1 kB / 0.8237 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001858/0.01995, allocations: 268 kB / 0.824 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.02051, allocations: 0.5896 MB / 0.8246 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.785e-05/0.0206, allocations: 154 kB / 0.8247 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.0207, allocations: 152.8 kB / 0.8248 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.02088, allocations: 264.1 kB / 0.8251 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.02107, allocations: 273.1 kB / 0.8254 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000167/0.02124, allocations: 272.1 kB / 0.8256 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001805/0.02142, allocations: 268.1 kB / 0.8259 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.02177, allocations: 469 kB / 0.8263 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.02193, allocations: 176.6 kB / 0.8265 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.02213, allocations: 268.1 kB / 0.8267 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.02231, allocations: 150.5 kB / 0.8269 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.02249, allocations: 268 kB / 0.8271 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/0.02259, allocations: 148.9 kB / 0.8273 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003816/0.02297, allocations: 323 kB / 0.8276 GB, free: 496 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02297, allocations: 0.5 kB / 0.8276 GB, free: 496 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004337/0.02341, allocations: 87.88 kB / 0.8277 GB, free: 408 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.0005379/0.02394, allocations: 356.4 kB / 0.828 GB, free: 52 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.02418, allocations: 112.8 kB / 0.8281 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02418, allocations: 448 / 0.8281 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.02419, allocations: 4 kB / 0.8281 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.02482, allocations: 0.7136 MB / 0.8288 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.02554, allocations: 0.5069 MB / 0.8293 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.02573, allocations: 166.1 kB / 0.8295 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.083e-05/0.02574, allocations: 0 / 0.8295 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.02577, allocations: 8.5 kB / 0.8295 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of SimCode: time 4.51e-07/0.02577, allocations: 4 kB / 0.8295 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of Templates: time 0.008697/0.03447, allocations: 3.061 MB / 0.8325 GB, free: 11.45 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.835141276940703]