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.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.001408/0.001408, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.00147/0.00147, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.88 kB / 1.104 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9614/0.9634, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005822/0.9693, allocations: 4.416 MB / 1.273 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.9721, allocations: 1.9 MB / 1.275 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002545/0.9723, allocations: 12 kB / 1.275 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.9739, allocations: 0.6009 MB / 1.275 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005915/0.9745, allocations: 263.1 kB / 1.276 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.9751, allocations: 256.3 kB / 1.276 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.9758, allocations: 0.6169 MB / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005827/0.9764, allocations: 369.9 kB / 1.277 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.9767, allocations: 257.1 kB / 1.277 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.9771, allocations: 279.7 kB / 1.277 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.9772, allocations: 36.94 kB / 1.277 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.9776, allocations: 260.6 kB / 1.278 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.9778, allocations: 155.2 kB / 1.278 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.978, allocations: 216.2 kB / 1.278 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008672/0.9789, allocations: 0.6109 MB / 1.279 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9789, allocations: 5.188 kB / 1.279 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9789, allocations: 0 / 1.279 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.9789, allocations: 0 / 1.279 GB, free: 1.637 MB / 0.9981 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.001332/0.9802, allocations: 0.7384 MB / 1.279 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.9803, allocations: 8.469 kB / 1.279 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.285e-05/0.9803, allocations: 74.38 kB / 1.279 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.9814, allocations: 153.8 kB / 1.28 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.982, allocations: 348.5 kB / 1.28 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.982, allocations: 25.41 kB / 1.28 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.982, allocations: 32.3 kB / 1.28 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.9829, allocations: 0.5328 MB / 1.281 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.9829, allocations: 2.922 kB / 1.281 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.9829, allocations: 11.94 kB / 1.281 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.983, allocations: 33.73 kB / 1.281 GB, free: 376 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.9835, allocations: 389.9 kB / 1.281 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.9865, allocations: 2.398 MB / 1.283 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.9871, allocations: 245.8 kB / 1.284 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.9872, allocations: 101.2 kB / 1.284 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.9873, allocations: 2 kB / 1.284 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.9873, allocations: 37.73 kB / 1.284 GB, free: 13.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.9873, allocations: 0 / 1.284 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002306/0.9896, allocations: 1.123 MB / 1.285 GB, free: 13.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.9896, allocations: 55.47 kB / 1.285 GB, free: 13.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.99, allocations: 300.8 kB / 1.285 GB, free: 13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.99, allocations: 31.73 kB / 1.285 GB, free: 12.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.9902, allocations: 240.1 kB / 1.285 GB, free: 12.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.9903, allocations: 88.33 kB / 1.285 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.9904, allocations: 58.89 kB / 1.286 GB, free: 12.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.9906, allocations: 338.7 kB / 1.286 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.9908, allocations: 108.3 kB / 1.286 GB, free: 12.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.9911, allocations: 191.8 kB / 1.286 GB, free: 12.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.9915, allocations: 314.1 kB / 1.286 GB, free: 11.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9915, allocations: 8.938 kB / 1.286 GB, free: 11.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000789/0.9923, allocations: 437.4 kB / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9923, allocations: 6.641 kB / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.9923, allocations: 7.406 kB / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.9927, allocations: 101.4 kB / 1.287 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.9929, allocations: 62.98 kB / 1.287 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.9967, allocations: 4.397 MB / 1.291 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.997, allocations: 12.64 kB / 1.291 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.997, allocations: 14.81 kB / 1.291 GB, free: 7.34 MB / 1.014 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.0002612/0.9973, allocations: 175.1 kB / 1.291 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.9974, allocations: 35.34 kB / 1.292 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.9974, allocations: 37.31 kB / 1.292 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9974, allocations: 2.875 kB / 1.292 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.9975, allocations: 1.656 kB / 1.292 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9975, allocations: 5.125 kB / 1.292 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.998, allocations: 402 kB / 1.292 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.998, allocations: 4.547 kB / 1.292 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.9982, allocations: 36.62 kB / 1.292 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.9985, allocations: 104.6 kB / 1.292 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.9986, allocations: 48 / 1.292 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/1.002, allocations: 4.386 MB / 1.296 GB, free: 2.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.002, allocations: 3.938 kB / 1.296 GB, free: 2.484 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/1.003, allocations: 0.555 MB / 1.297 GB, free: 2.168 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/1.003, allocations: 128.9 kB / 1.297 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/1.003, allocations: 2.094 kB / 1.297 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.004, allocations: 11.23 kB / 1.297 GB, free: 2.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/1.004, allocations: 22.52 kB / 1.297 GB, free: 2.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/1.004, allocations: 4.688 kB / 1.297 GB, free: 2.035 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002614/1.004, allocations: 217 kB / 1.297 GB, free: 1.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.004, allocations: 4.062 kB / 1.297 GB, free: 1.906 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004944/1.004, allocations: 96.91 kB / 1.297 GB, free: 1.898 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.001245/1.006, allocations: 1.1 MB / 1.298 GB, free: 1.051 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009603/1.007, allocations: 0.5889 MB / 1.299 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.007, allocations: 0 / 1.299 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/1.007, allocations: 461.9 kB / 1.299 GB, free: 256 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/1.008, allocations: 84.94 kB / 1.3 GB, free: 220 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/1.013, allocations: 3.372 MB / 1.303 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/1.014, allocations: 0.8309 MB / 1.304 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002379/1.014, allocations: 62.14 kB / 1.304 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/1.014, allocations: 113.9 kB / 1.304 GB, free: 13.19 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/1.014, allocations: 0 / 1.304 GB, free: 13.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/1.059, allocations: 7.863 MB / 1.312 GB, free: 12.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.57, allocations: 3.781 kB / 1.312 GB, free: 12.31 MB / 1.029 GB " [Timeout remaining time 288] (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_2/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: 17.491031778045]