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.00181/0.00181, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002406/0.002406, allocations: 222.6 kB / 23 MB, free: 4.91 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.7707 GB, free: 4.785 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: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel") [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.002174/0.002174, allocations: 70.44 kB / 1.118 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 170 MB / 1.284 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006789/0.3496, allocations: 4.285 MB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.3529, allocations: 1.815 MB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.3531, allocations: 11.94 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3549, allocations: 0.6031 MB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006955/0.3556, allocations: 266.6 kB / 1.291 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.3563, allocations: 255.5 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.3571, allocations: 0.6112 MB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.3578, allocations: 339.2 kB / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.3581, allocations: 259.1 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.3586, allocations: 262.9 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.3587, allocations: 36 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.3592, allocations: 235.4 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.3593, allocations: 151.6 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3596, allocations: 187.2 kB / 1.293 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008064/0.3604, allocations: 0.611 MB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3604, allocations: 0 / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3604, allocations: 0 / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.3604, allocations: 0 / 1.293 GB, free: 2.117 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.00139/0.3618, allocations: 0.6726 MB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3618, allocations: 8.031 kB / 1.294 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.3628, allocations: 152.5 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.3634, allocations: 272.8 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.3634, allocations: 25.38 kB / 1.295 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.3635, allocations: 36.36 kB / 1.295 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3646, allocations: 0.6785 MB / 1.295 GB, free: 156 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3646, allocations: 11.94 kB / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.3647, allocations: 19.98 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.3648, allocations: 32.62 kB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.3655, allocations: 382.3 kB / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.3682, allocations: 1.672 MB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.3688, allocations: 247.9 kB / 1.298 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3689, allocations: 96.81 kB / 1.298 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3689, allocations: 4 kB / 1.298 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.369, allocations: 34.5 kB / 1.298 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.369, allocations: 0 / 1.298 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002156/0.3711, allocations: 0.9053 MB / 1.299 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3712, allocations: 55.41 kB / 1.299 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.3715, allocations: 273.8 kB / 1.299 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3715, allocations: 29.7 kB / 1.299 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3717, allocations: 236.1 kB / 1.299 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.3718, allocations: 91.2 kB / 1.299 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3719, allocations: 62.03 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3721, allocations: 338.8 kB / 1.3 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3723, allocations: 100.6 kB / 1.3 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3725, allocations: 191.7 kB / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.373, allocations: 324.1 kB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.373, allocations: 4 kB / 1.3 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000785/0.3738, allocations: 438 kB / 1.301 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3738, allocations: 8 kB / 1.301 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3738, allocations: 4 kB / 1.301 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.3742, allocations: 94.5 kB / 1.301 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.3745, allocations: 64.06 kB / 1.301 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.3782, allocations: 4.008 MB / 1.305 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3784, allocations: 8 kB / 1.305 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3784, allocations: 12 kB / 1.305 GB, free: 5.895 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.0002235/0.3786, allocations: 181.7 kB / 1.305 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3787, allocations: 31.86 kB / 1.305 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-05/0.3787, allocations: 38.27 kB / 1.305 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3788, allocations: 8.094 kB / 1.305 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3788, allocations: 3.938 kB / 1.305 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3788, allocations: 0 / 1.305 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.3792, allocations: 281.2 kB / 1.305 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3792, allocations: 3.938 kB / 1.305 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.3794, allocations: 39.91 kB / 1.305 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.3797, allocations: 94.5 kB / 1.305 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3797, allocations: 4 kB / 1.305 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.3832, allocations: 4.016 MB / 1.309 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3832, allocations: 4.031 kB / 1.309 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.3841, allocations: 0.5482 MB / 1.31 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3842, allocations: 43.83 kB / 1.31 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3842, allocations: 8.156 kB / 1.31 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3844, allocations: 15.98 kB / 1.31 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.3845, allocations: 23.91 kB / 1.31 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3845, allocations: 4 kB / 1.31 GB, free: 184 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002401/0.3847, allocations: 189.2 kB / 1.31 GB, free: 15.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 3.938 kB / 1.31 GB, free: 15.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004746/0.3852, allocations: 100 kB / 1.31 GB, free: 15.89 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.0001552/0.3854, allocations: 103.2 kB / 1.31 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009453/0.3863, allocations: 0.5828 MB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3863, allocations: 0.6875 kB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.3869, allocations: 471.1 kB / 1.311 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3874, allocations: 55.83 kB / 1.311 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3887, allocations: 0.7789 MB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.389, allocations: 231.9 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.3891, allocations: 23.44 kB / 1.312 GB, free: 13.53 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.3891, allocations: 0 / 1.312 GB, free: 13.53 MB / 1.014 GB Notification: Performance of Templates: time 0.0121/0.4012, allocations: 8.699 MB / 1.321 GB, free: 4.836 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] 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: 12.83697279309854]