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.001741/0.001741, allocations: 112.7 kB / 19.73 MB, free: 2.242 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.002192/0.002192, allocations: 219.3 kB / 23.05 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.691/2.691, allocations: 476.8 MB / 0.7715 GB, free: 4.262 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_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.001949/0.001949, allocations: 64.23 kB / 1.118 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007273/0.3416, allocations: 4.549 MB / 1.289 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003751/0.3454, allocations: 1.963 MB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.3457, allocations: 11.94 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.3475, allocations: 0.6239 MB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.3482, allocations: 258.6 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.3489, allocations: 257.9 kB / 1.292 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.3497, allocations: 0.6151 MB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.3504, allocations: 350.7 kB / 1.293 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.3507, allocations: 251.2 kB / 1.293 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.3513, allocations: 286.9 kB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.3513, allocations: 40 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005542/0.3519, allocations: 255.4 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3521, allocations: 163.5 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.3523, allocations: 211 kB / 1.294 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.3533, allocations: 0.611 MB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3533, allocations: 0 / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3533, allocations: 7.938 kB / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3533, allocations: 0 / 1.294 GB, free: 1.312 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.001513/0.3548, allocations: 0.661 MB / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3549, allocations: 12.03 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.26e-05/0.3549, allocations: 9.188 kB / 1.295 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.441e-05/0.355, allocations: 74.66 kB / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3561, allocations: 160.4 kB / 1.295 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.3566, allocations: 272.8 kB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.3567, allocations: 25.38 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.3568, allocations: 36.36 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.3577, allocations: 0.5314 MB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3577, allocations: 0 / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.3578, allocations: 19.98 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.3578, allocations: 32.58 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.3585, allocations: 390.3 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.3617, allocations: 2.375 MB / 1.299 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.3622, allocations: 238.5 kB / 1.299 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.3624, allocations: 96.81 kB / 1.299 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3624, allocations: 0 / 1.299 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3625, allocations: 38.56 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/0.3625, allocations: 0 / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002333/0.3648, allocations: 0.9105 MB / 1.3 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.3649, allocations: 59.34 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.3652, allocations: 300.5 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3653, allocations: 33.7 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3655, allocations: 232.1 kB / 1.301 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.3656, allocations: 87.31 kB / 1.301 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3657, allocations: 61.98 kB / 1.301 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3659, allocations: 334.8 kB / 1.301 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.3661, allocations: 108.6 kB / 1.301 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.3663, allocations: 183.8 kB / 1.301 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3668, allocations: 323.4 kB / 1.302 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3668, allocations: 4 kB / 1.302 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009092/0.3677, allocations: 438.1 kB / 1.302 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3677, allocations: 4 kB / 1.302 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3677, allocations: 8 kB / 1.302 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.3681, allocations: 98.64 kB / 1.302 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.3684, allocations: 63.91 kB / 1.302 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.3723, allocations: 4.089 MB / 1.306 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.3726, allocations: 8 kB / 1.306 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3726, allocations: 12 kB / 1.306 GB, free: 4.191 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.0002615/0.3729, allocations: 184.9 kB / 1.306 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.3729, allocations: 39.73 kB / 1.306 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.005e-05/0.373, allocations: 42.48 kB / 1.306 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.373, allocations: 7.984 kB / 1.307 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3731, allocations: 3.938 kB / 1.307 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3731, allocations: 0 / 1.307 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.3736, allocations: 372.4 kB / 1.307 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3736, allocations: 4 kB / 1.307 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3738, allocations: 35.92 kB / 1.307 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.3741, allocations: 90.5 kB / 1.307 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.3742, allocations: 11.98 kB / 1.307 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.3779, allocations: 4.065 MB / 1.311 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.378, allocations: 7.875 kB / 1.311 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.3789, allocations: 0.5627 MB / 1.312 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3791, allocations: 51.81 kB / 1.312 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.3791, allocations: 4 kB / 1.312 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3793, allocations: 15.98 kB / 1.312 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3794, allocations: 15.97 kB / 1.312 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3794, allocations: 16 kB / 1.312 GB, free: 14.24 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002477/0.3796, allocations: 207.1 kB / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000515/0.3802, allocations: 100 kB / 1.312 GB, free: 13.95 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.001261/0.3814, allocations: 1.096 MB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009925/0.3824, allocations: 0.5899 MB / 1.314 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3824, allocations: 4 kB / 1.314 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.383, allocations: 463.9 kB / 1.314 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.3835, allocations: 68.92 kB / 1.314 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.3885, allocations: 3.395 MB / 1.317 GB, free: 8.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.3891, allocations: 0.835 MB / 1.318 GB, free: 7.203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.3893, allocations: 58.91 kB / 1.318 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3895, allocations: 107.4 kB / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.3895, allocations: 0 / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05713/0.4466, allocations: 8.149 MB / 1.326 GB, free: 15.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.68, allocations: 6.312 kB / 1.326 GB, free: 15.09 MB / 1.029 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: 19.31564188603079]