Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.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.001182/0.001182, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001214/0.001214, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.89 kB / 1.059 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2688, allocations: 160.7 MB / 1.216 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006086/0.2749, allocations: 4.514 MB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.2779, allocations: 1.936 MB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.278, allocations: 11.94 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.2797, allocations: 0.6226 MB / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005871/0.2803, allocations: 262.6 kB / 1.223 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.2809, allocations: 255.3 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.2815, allocations: 0.6073 MB / 1.224 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/0.2821, allocations: 327.1 kB / 1.224 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.2824, allocations: 251.1 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.2828, allocations: 282.9 kB / 1.224 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.2829, allocations: 36 kB / 1.224 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.2833, allocations: 267.4 kB / 1.225 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.2834, allocations: 147.5 kB / 1.225 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.2836, allocations: 222.9 kB / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.2843, allocations: 0.6149 MB / 1.226 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2843, allocations: 0 / 1.226 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2843, allocations: 0 / 1.226 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.2844, allocations: 0 / 1.226 GB, free: 5.539 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001194/0.2856, allocations: 0.7323 MB / 1.226 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2856, allocations: 15.97 kB / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.14e-05/0.2857, allocations: 74.72 kB / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.2866, allocations: 148.5 kB / 1.227 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.287, allocations: 342.7 kB / 1.227 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.2871, allocations: 33.3 kB / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.2871, allocations: 32.38 kB / 1.227 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.2879, allocations: 0.5355 MB / 1.227 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2879, allocations: 3.938 kB / 1.227 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.2879, allocations: 12 kB / 1.227 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.288, allocations: 32.64 kB / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.2886, allocations: 390.3 kB / 1.228 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.2911, allocations: 2.404 MB / 1.23 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.2916, allocations: 234.5 kB / 1.23 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2918, allocations: 96.81 kB / 1.231 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.2918, allocations: 4 kB / 1.231 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2918, allocations: 42.55 kB / 1.231 GB, free: 64 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 3.386e-06/0.2918, allocations: 3.984 kB / 1.231 GB, free: 60 kB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002136/0.294, allocations: 1.126 MB / 1.232 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.294, allocations: 55.41 kB / 1.232 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.2943, allocations: 308.5 kB / 1.232 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2944, allocations: 29.7 kB / 1.232 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2945, allocations: 240.1 kB / 1.232 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.2946, allocations: 83.28 kB / 1.232 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.2947, allocations: 61.98 kB / 1.232 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2948, allocations: 342.8 kB / 1.233 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.295, allocations: 100.6 kB / 1.233 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.2952, allocations: 187.8 kB / 1.233 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.2956, allocations: 324.8 kB / 1.233 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2956, allocations: 0 / 1.233 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007279/0.2963, allocations: 442.1 kB / 1.234 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2964, allocations: 8 kB / 1.234 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2964, allocations: 3.984 kB / 1.234 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.2967, allocations: 94.5 kB / 1.234 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.297, allocations: 71.97 kB / 1.234 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.3004, allocations: 4.391 MB / 1.238 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.3006, allocations: 8 kB / 1.238 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3006, allocations: 16 kB / 1.238 GB, free: 7.547 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.3008, allocations: 177.7 kB / 1.238 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.3009, allocations: 35.75 kB / 1.238 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.301, allocations: 42.38 kB / 1.238 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.301, allocations: 4.094 kB / 1.238 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.301, allocations: 0 / 1.238 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.301, allocations: 7.969 kB / 1.238 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.3014, allocations: 405.3 kB / 1.239 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3014, allocations: 3.938 kB / 1.239 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.3016, allocations: 35.92 kB / 1.239 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.3019, allocations: 94.5 kB / 1.239 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3019, allocations: 4 kB / 1.239 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/0.3053, allocations: 4.384 MB / 1.243 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3053, allocations: 3.938 kB / 1.243 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007961/0.3061, allocations: 0.5543 MB / 1.244 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3062, allocations: 124.9 kB / 1.244 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3062, allocations: 0 / 1.244 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3064, allocations: 15.98 kB / 1.244 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.3065, allocations: 23.91 kB / 1.244 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3065, allocations: 12.06 kB / 1.244 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002124/0.3067, allocations: 215 kB / 1.244 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3067, allocations: 0 / 1.244 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004355/0.3071, allocations: 96 kB / 1.244 GB, free: 0.8047 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.3083, allocations: 1.1 MB / 1.245 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.3091, allocations: 0.5939 MB / 1.246 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3091, allocations: 0 / 1.246 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.3096, allocations: 459.9 kB / 1.246 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3101, allocations: 76.92 kB / 1.246 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.3143, allocations: 3.382 MB / 1.25 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3147, allocations: 0.8388 MB / 1.251 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.3149, allocations: 62.92 kB / 1.251 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.315, allocations: 111.4 kB / 1.251 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.315, allocations: 0 / 1.251 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/0.358, allocations: 7.858 MB / 1.258 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/9.34, allocations: 4.344 kB / 1.258 GB, free: 2.199 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen_ss.I in file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_ss.I from file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable sen_dyn.I in file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_dyn.I from file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable RC_ss.Vc in file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable RC_ss.Vc from file Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.942972826000187]