Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001566/0.001566, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002493/0.002493, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.148/3.148, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel",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.002853/0.002853, allocations: 64.77 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3717, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006553/0.3783, allocations: 4.532 MB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003414/0.3817, allocations: 1.967 MB / 1.352 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.3819, allocations: 11.94 kB / 1.352 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.3837, allocations: 0.6199 MB / 1.352 GB, free: 9.324 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006681/0.3844, allocations: 258.6 kB / 1.353 GB, free: 9.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.3851, allocations: 267.3 kB / 1.353 GB, free: 8.809 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000728/0.3858, allocations: 0.6226 MB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.3864, allocations: 351.1 kB / 1.354 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.3867, allocations: 251.2 kB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.3872, allocations: 282.9 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.136e-05/0.3873, allocations: 36 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.3878, allocations: 263.4 kB / 1.355 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3879, allocations: 155.5 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.3882, allocations: 215 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.3889, allocations: 0.611 MB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3889, allocations: 0 / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3889, allocations: 0 / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3889, allocations: 0 / 1.355 GB, free: 6.039 MB / 1.045 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.001267/0.3902, allocations: 0.6726 MB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3902, allocations: 11.97 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.713e-05/0.3902, allocations: 9.188 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.3903, allocations: 74.72 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.3913, allocations: 144.5 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.3918, allocations: 280.9 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.3918, allocations: 21.38 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.3919, allocations: 40.36 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.3927, allocations: 0.5352 MB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3927, allocations: 3.938 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.3927, allocations: 15.98 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.3928, allocations: 32.64 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.3934, allocations: 386.3 kB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.3961, allocations: 2.364 MB / 1.36 GB, free: 1.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.3967, allocations: 253.2 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.3968, allocations: 97.16 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3969, allocations: 3.953 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3969, allocations: 38.56 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3969, allocations: 0 / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.002154/0.399, allocations: 0.906 MB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3991, allocations: 59.16 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.3994, allocations: 308.5 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3995, allocations: 29.7 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3996, allocations: 232.1 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.3997, allocations: 83.33 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3998, allocations: 61.98 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4, allocations: 342.8 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.4001, allocations: 100.6 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.4004, allocations: 187.8 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.4008, allocations: 324.6 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4008, allocations: 0 / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008014/0.4016, allocations: 442.2 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4017, allocations: 8 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4017, allocations: 0 / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.402, allocations: 90.5 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.4023, allocations: 71.94 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.4059, allocations: 4.097 MB / 1.367 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.4061, allocations: 8 kB / 1.367 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.4062, allocations: 12 kB / 1.367 GB, free: 8.914 MB / 1.061 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.0002344/0.4064, allocations: 186.9 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.4065, allocations: 31.81 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.4066, allocations: 38.47 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4066, allocations: 4 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4066, allocations: 7.938 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4066, allocations: 3.984 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.4071, allocations: 368.4 kB / 1.368 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4071, allocations: 0 / 1.368 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.4073, allocations: 43.84 kB / 1.368 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.4076, allocations: 94.5 kB / 1.368 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.4076, allocations: 4 kB / 1.368 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.4111, allocations: 4.092 MB / 1.372 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4111, allocations: 0 / 1.372 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.412, allocations: 0.555 MB / 1.373 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4121, allocations: 47.81 kB / 1.373 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.4122, allocations: 8 kB / 1.373 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4124, allocations: 8 kB / 1.373 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.4124, allocations: 27.89 kB / 1.373 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.4125, allocations: 4 kB / 1.373 GB, free: 2.973 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002275/0.4127, allocations: 211.1 kB / 1.373 GB, free: 2.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4127, allocations: 0 / 1.373 GB, free: 2.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004761/0.4132, allocations: 100 kB / 1.373 GB, free: 2.672 MB / 1.061 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.001212/0.4144, allocations: 1.093 MB / 1.374 GB, free: 1.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009282/0.4153, allocations: 0.599 MB / 1.375 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4153, allocations: 0 / 1.375 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.4159, allocations: 455.9 kB / 1.375 GB, free: 432 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.4164, allocations: 85.17 kB / 1.375 GB, free: 352 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.4211, allocations: 3.379 MB / 1.379 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.4217, allocations: 0.835 MB / 1.379 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.4219, allocations: 58.94 kB / 1.379 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.422, allocations: 107.4 kB / 1.38 GB, free: 11.77 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/0.422, allocations: 4 kB / 1.38 GB, free: 11.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.4653, allocations: 8.137 MB / 1.388 GB, free: 3.832 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.99, allocations: 1.312 kB / 1.388 GB, free: 3.832 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.740630927029997]