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.001405/0.001405, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001591/0.001591, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.832/2.832, allocations: 0.49 GB / 0.7923 GB, free: 1.383 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.91 kB / 1.149 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9716/0.9736, allocations: 176.1 MB / 1.321 GB, free: 24.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002326/0.9759, allocations: 1.42 MB / 1.323 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.9777, allocations: 1.952 MB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.9777, allocations: 2.938 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.9786, allocations: 389.8 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.9787, allocations: 14.3 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.9787, allocations: 0 / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.9789, allocations: 130.8 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.9789, allocations: 14.12 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.979, allocations: 46.33 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.9791, allocations: 65.45 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.9791, allocations: 6.594 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.9795, allocations: 179.1 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.9796, allocations: 32.7 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.9796, allocations: 75.45 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.98, allocations: 294.7 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.98, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.98, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.98, allocations: 0 / 1.326 GB, free: 21.95 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.0005815/0.9806, allocations: 0.4949 MB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.9807, allocations: 12.17 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.707e-05/0.9807, allocations: 82.16 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.259e-05/0.9807, allocations: 106 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.9808, allocations: 98.05 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.981, allocations: 287.2 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.981, allocations: 158.9 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.9811, allocations: 157.2 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.748e-05/0.9811, allocations: 105 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.9811, allocations: 77.97 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.9811, allocations: 154.5 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.9811, allocations: 154.6 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.9812, allocations: 150.6 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.9814, allocations: 0.5033 MB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.9814, allocations: 167.7 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.9815, allocations: 92.02 kB / 1.329 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.9815, allocations: 75.28 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.9815, allocations: 112 kB / 1.329 GB, free: 19.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.9815, allocations: 0 / 1.329 GB, free: 19.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001635/0.9816, allocations: 48.39 kB / 1.329 GB, free: 18.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.9817, allocations: 126.7 kB / 1.329 GB, free: 18.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.982, allocations: 320.8 kB / 1.329 GB, free: 18.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.982, allocations: 26.98 kB / 1.329 GB, free: 18.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.9821, allocations: 126 kB / 1.329 GB, free: 18.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.9821, allocations: 0 / 1.329 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.9821, allocations: 62.58 kB / 1.329 GB, free: 18.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.9822, allocations: 332.4 kB / 1.33 GB, free: 18.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.9823, allocations: 62.97 kB / 1.33 GB, free: 18.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.9824, allocations: 119.4 kB / 1.33 GB, free: 18.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.9826, allocations: 206.7 kB / 1.33 GB, free: 17.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9826, allocations: 1 kB / 1.33 GB, free: 17.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004378/0.983, allocations: 243.6 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.9831, allocations: 5.812 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9831, allocations: 2.031 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9831, allocations: 6.125 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.9831, allocations: 2.406 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.9831, allocations: 2.625 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.9832, allocations: 32.56 kB / 1.33 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.9832, allocations: 4.656 kB / 1.33 GB, free: 17.83 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.0001606/0.9834, allocations: 226.3 kB / 1.331 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.9835, allocations: 119.3 kB / 1.331 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.9835, allocations: 120.6 kB / 1.331 GB, free: 17.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.9835, allocations: 181.1 kB / 1.331 GB, free: 17.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/0.9835, allocations: 177.1 kB / 1.331 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/0.9836, allocations: 184.9 kB / 1.331 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.9837, allocations: 451.8 kB / 1.332 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.9838, allocations: 109.5 kB / 1.332 GB, free: 16.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.9838, allocations: 105.8 kB / 1.332 GB, free: 16.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.558e-05/0.9838, allocations: 184.9 kB / 1.332 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.9838, allocations: 189.6 kB / 1.332 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.029e-05/0.9839, allocations: 176.3 kB / 1.333 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.9839, allocations: 181.3 kB / 1.333 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.984, allocations: 327.9 kB / 1.333 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.984, allocations: 200.1 kB / 1.333 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.9841, allocations: 180.3 kB / 1.333 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.9842, allocations: 106.6 kB / 1.334 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.9842, allocations: 181.3 kB / 1.334 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.9842, allocations: 101 kB / 1.334 GB, free: 14.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002001/0.9844, allocations: 215.4 kB / 1.334 GB, free: 14.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9844, allocations: 0 / 1.334 GB, free: 14.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004177/0.9848, allocations: 65.95 kB / 1.334 GB, free: 14.18 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.0004548/0.9853, allocations: 0.9299 MB / 1.335 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.9855, allocations: 78.81 kB / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9855, allocations: 4.062 kB / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.9855, allocations: 0 / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.9858, allocations: 471.3 kB / 1.336 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.988, allocations: 2.446 MB / 1.338 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.9882, allocations: 0.7457 MB / 1.339 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.9882, allocations: 2.625 kB / 1.339 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.9882, allocations: 36.34 kB / 1.339 GB, free: 10.34 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.9882, allocations: 0 / 1.339 GB, free: 10.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/1.023, allocations: 4.913 MB / 1.343 GB, free: 9.652 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.423, allocations: 4.812 kB / 1.343 GB, free: 9.652 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.81293412897503]