Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001366/0.001366, allocations: 114.4 kB / 17.08 MB, free: 5.82 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.001369/0.001369, allocations: 194.2 kB / 20.03 MB, free: 2.949 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.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437.1 MB / 0.7177 GB, free: 4.574 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.02 kB / 1.028 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007117/0.3631, allocations: 4.351 MB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.3669, allocations: 1.877 MB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.3672, allocations: 11.94 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.369, allocations: 0.607 MB / 1.183 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.3697, allocations: 254.6 kB / 1.183 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.3706, allocations: 251.4 kB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008955/0.3715, allocations: 0.6073 MB / 1.184 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008652/0.3724, allocations: 470.7 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.3727, allocations: 251.1 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005564/0.3733, allocations: 271 kB / 1.185 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.3734, allocations: 36 kB / 1.185 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.374, allocations: 251.4 kB / 1.185 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.3742, allocations: 151.7 kB / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.3745, allocations: 222.9 kB / 1.185 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008863/0.3754, allocations: 0.6032 MB / 1.186 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3754, allocations: 4 kB / 1.186 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3754, allocations: 0 / 1.186 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3754, allocations: 0 / 1.186 GB, free: 11.73 MB / 0.9356 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.00154/0.377, allocations: 0.744 MB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.377, allocations: 8.031 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.378, allocations: 148.5 kB / 1.187 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.3786, allocations: 338.7 kB / 1.187 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3786, allocations: 25.38 kB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.3787, allocations: 32.38 kB / 1.187 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.3796, allocations: 0.5356 MB / 1.188 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3796, allocations: 3.938 kB / 1.188 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.3796, allocations: 12 kB / 1.188 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.3797, allocations: 32.64 kB / 1.188 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.3804, allocations: 390.3 kB / 1.188 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.3833, allocations: 2.4 MB / 1.19 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.3839, allocations: 258.5 kB / 1.191 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3841, allocations: 116.8 kB / 1.191 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3841, allocations: 0 / 1.191 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.3842, allocations: 38.5 kB / 1.191 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.3843, allocations: 3.938 kB / 1.191 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.00257/0.3868, allocations: 1.136 MB / 1.192 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3869, allocations: 59.39 kB / 1.192 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3872, allocations: 300.4 kB / 1.192 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3873, allocations: 33.7 kB / 1.192 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3875, allocations: 232.1 kB / 1.192 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.3876, allocations: 91.27 kB / 1.192 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3877, allocations: 61.98 kB / 1.193 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3879, allocations: 338.8 kB / 1.193 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.3881, allocations: 104.6 kB / 1.193 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.3883, allocations: 183.8 kB / 1.193 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.3888, allocations: 317.6 kB / 1.193 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3888, allocations: 0 / 1.193 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008063/0.3896, allocations: 445.8 kB / 1.194 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3896, allocations: 8 kB / 1.194 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3897, allocations: 4 kB / 1.194 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.3901, allocations: 102.8 kB / 1.194 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3904, allocations: 63.89 kB / 1.194 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.3947, allocations: 4.411 MB / 1.198 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.395, allocations: 8 kB / 1.198 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.395, allocations: 12.16 kB / 1.198 GB, free: 13.78 MB / 0.9512 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.000276/0.3953, allocations: 185.7 kB / 1.199 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.3954, allocations: 35.75 kB / 1.199 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.3955, allocations: 42.31 kB / 1.199 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3955, allocations: 4 kB / 1.199 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3955, allocations: 0 / 1.199 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3955, allocations: 0 / 1.199 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.3961, allocations: 401.3 kB / 1.199 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3961, allocations: 0 / 1.199 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.3963, allocations: 39.92 kB / 1.199 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003313/0.3966, allocations: 90.48 kB / 1.199 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3967, allocations: 12 kB / 1.199 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004097/0.4008, allocations: 4.384 MB / 1.203 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4008, allocations: 4.031 kB / 1.203 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009282/0.4017, allocations: 0.5551 MB / 1.204 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.4019, allocations: 125 kB / 1.204 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.402, allocations: 11.94 kB / 1.204 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4022, allocations: 8 kB / 1.204 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.4022, allocations: 19.97 kB / 1.204 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4022, allocations: 8 kB / 1.204 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002464/0.4025, allocations: 211 kB / 1.204 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4025, allocations: 0 / 1.204 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005125/0.403, allocations: 107.9 kB / 1.204 GB, free: 7.035 MB / 0.9512 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.0001672/0.4032, allocations: 107.2 kB / 1.205 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009366/0.4041, allocations: 0.6055 MB / 1.205 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.4042, allocations: 0 / 1.205 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.4047, allocations: 471.9 kB / 1.206 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.4052, allocations: 76.05 kB / 1.206 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4066, allocations: 0.7643 MB / 1.206 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.4071, allocations: 0.835 MB / 1.207 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.4072, allocations: 27.42 kB / 1.207 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.4072, allocations: 0 / 1.207 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of Templates: time 0.01263/0.4199, allocations: 8.694 MB / 1.216 GB, free: 11.33 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.924289420014247]