Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.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.002013/0.002013, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001983/0.001983, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 476 MB / 0.7699 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",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.002/0.002, allocations: 63.98 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2876, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00634/0.2939, allocations: 4.277 MB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.2971, allocations: 1.823 MB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.2972, allocations: 11.94 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.2989, allocations: 0.5998 MB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.2995, allocations: 262.6 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.3001, allocations: 252.8 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.3008, allocations: 0.6189 MB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.3013, allocations: 338.7 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.3016, allocations: 259.1 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.3021, allocations: 263 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.3021, allocations: 40 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.3026, allocations: 239.4 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3027, allocations: 147.5 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.3029, allocations: 187.2 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007198/0.3036, allocations: 0.6071 MB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3036, allocations: 0 / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3036, allocations: 0 / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3036, allocations: 0 / 1.292 GB, free: 2.543 MB / 0.9825 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.001264/0.3049, allocations: 0.6687 MB / 1.293 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3049, allocations: 12.02 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.778e-05/0.305, allocations: 78.7 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.306, allocations: 148.5 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.3065, allocations: 276.8 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3066, allocations: 25.31 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.3066, allocations: 40.36 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009183/0.3075, allocations: 0.6821 MB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3076, allocations: 11.92 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.3076, allocations: 16 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.3077, allocations: 32.64 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.3083, allocations: 386.3 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.3109, allocations: 1.734 MB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.3115, allocations: 242.5 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3117, allocations: 92.81 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3117, allocations: 7.938 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3118, allocations: 38.56 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.3118, allocations: 0 / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002262/0.314, allocations: 0.9095 MB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3141, allocations: 59.39 kB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.3144, allocations: 304.4 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3144, allocations: 29.7 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3146, allocations: 236.1 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.3147, allocations: 91.2 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3148, allocations: 58.03 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3149, allocations: 338.8 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.3151, allocations: 104.6 kB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3154, allocations: 199.6 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.3158, allocations: 312.2 kB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3158, allocations: 4 kB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008066/0.3167, allocations: 442.1 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3167, allocations: 8.062 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3167, allocations: 4 kB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.3171, allocations: 98.42 kB / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.3174, allocations: 67.89 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.321, allocations: 4.061 MB / 1.304 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.3213, allocations: 16 kB / 1.304 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.3213, allocations: 8 kB / 1.304 GB, free: 6.012 MB / 0.9981 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.0002336/0.3215, allocations: 177.8 kB / 1.304 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.3216, allocations: 35.75 kB / 1.304 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.3217, allocations: 38.41 kB / 1.304 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3217, allocations: 7.938 kB / 1.304 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3217, allocations: 96 / 1.304 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3217, allocations: 11.98 kB / 1.304 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.3222, allocations: 336.6 kB / 1.304 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3222, allocations: 3.938 kB / 1.304 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3223, allocations: 27.98 kB / 1.304 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.3227, allocations: 98.53 kB / 1.304 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3227, allocations: 15.92 kB / 1.304 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.3261, allocations: 4.057 MB / 1.308 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.3262, allocations: 7.969 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.327, allocations: 0.5482 MB / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.3272, allocations: 43.83 kB / 1.309 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.3272, allocations: 8 kB / 1.309 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3275, allocations: 16.17 kB / 1.309 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3275, allocations: 19.91 kB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3275, allocations: 8 kB / 1.309 GB, free: 132 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002518/0.3278, allocations: 215 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3278, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004743/0.3282, allocations: 100 kB / 1.309 GB, free: 15.82 MB / 1.014 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.001274/0.3295, allocations: 1.1 MB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000952/0.3305, allocations: 0.5862 MB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3305, allocations: 0 / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3311, allocations: 472 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.3316, allocations: 80.69 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.337, allocations: 3.384 MB / 1.315 GB, free: 9.941 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.3374, allocations: 232.7 kB / 1.315 GB, free: 9.695 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003724/0.3378, allocations: 58.92 kB / 1.315 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.338, allocations: 107.4 kB / 1.315 GB, free: 9.535 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/0.338, allocations: 4 kB / 1.315 GB, free: 9.531 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/0.3957, allocations: 8.749 MB / 1.324 GB, free: 1.027 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.22, allocations: 4.062 kB / 1.324 GB, free: 1.023 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.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: 18.637391057796776]