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.001359/0.001359, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001537/0.001537, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.486/1.486, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.699/2.699, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 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.002187/0.002187, allocations: 67.89 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007127/0.338, allocations: 4.415 MB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004209/0.3422, allocations: 1.912 MB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.3426, allocations: 11.94 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.3444, allocations: 0.5993 MB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008073/0.3452, allocations: 262.6 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.346, allocations: 251.4 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009254/0.3469, allocations: 0.6112 MB / 1.222 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.3476, allocations: 366.9 kB / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.348, allocations: 251.1 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.3487, allocations: 283 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3488, allocations: 36 kB / 1.223 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.3494, allocations: 263.4 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.3496, allocations: 155.5 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.3499, allocations: 222.9 kB / 1.223 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.3509, allocations: 0.6032 MB / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3509, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3509, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.3509, allocations: 0 / 1.224 GB, free: 6.758 MB / 0.9669 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.001563/0.3524, allocations: 0.744 MB / 1.225 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3525, allocations: 8.031 kB / 1.225 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.3536, allocations: 148.5 kB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.3542, allocations: 342.7 kB / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3542, allocations: 29.38 kB / 1.225 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.3543, allocations: 32.36 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.3553, allocations: 0.5356 MB / 1.226 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3553, allocations: 7.938 kB / 1.226 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3554, allocations: 16 kB / 1.226 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.3554, allocations: 28.62 kB / 1.226 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.3562, allocations: 386.3 kB / 1.226 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.3592, allocations: 2.404 MB / 1.229 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.3598, allocations: 245.1 kB / 1.229 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.36, allocations: 96.81 kB / 1.229 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.36, allocations: 0 / 1.229 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.36, allocations: 42.5 kB / 1.229 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.36, allocations: 0 / 1.229 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002491/0.3625, allocations: 1.133 MB / 1.23 GB, free: 132 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3626, allocations: 51.41 kB / 1.23 GB, free: 68 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.363, allocations: 300.5 kB / 1.23 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.363, allocations: 37.7 kB / 1.23 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.3632, allocations: 236.1 kB / 1.231 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.3633, allocations: 95.16 kB / 1.231 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3634, allocations: 58.03 kB / 1.231 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3636, allocations: 334.8 kB / 1.231 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3638, allocations: 108.6 kB / 1.231 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.364, allocations: 191.7 kB / 1.231 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.3645, allocations: 316.9 kB / 1.232 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3645, allocations: 4 kB / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009239/0.3654, allocations: 441.9 kB / 1.232 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3655, allocations: 4.344 kB / 1.232 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3655, allocations: 8 kB / 1.232 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.3659, allocations: 94.48 kB / 1.232 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.3662, allocations: 67.84 kB / 1.232 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/0.3704, allocations: 4.387 MB / 1.237 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.3707, allocations: 12.06 kB / 1.237 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3708, allocations: 12 kB / 1.237 GB, free: 8.852 MB / 0.9825 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.0002717/0.371, allocations: 185.7 kB / 1.237 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.3711, allocations: 35.75 kB / 1.237 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3712, allocations: 38.31 kB / 1.237 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3712, allocations: 0 / 1.237 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.3712, allocations: 15.94 kB / 1.237 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3712, allocations: 3.938 kB / 1.237 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.3718, allocations: 401.4 kB / 1.237 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3718, allocations: 0 / 1.237 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.372, allocations: 39.95 kB / 1.237 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003487/0.3724, allocations: 98.48 kB / 1.237 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3724, allocations: 4 kB / 1.237 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004022/0.3764, allocations: 4.38 MB / 1.242 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3764, allocations: 4 kB / 1.242 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/0.3774, allocations: 0.5538 MB / 1.242 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.3776, allocations: 124.9 kB / 1.242 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.3777, allocations: 8 kB / 1.242 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3779, allocations: 4 kB / 1.242 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.378, allocations: 19.97 kB / 1.242 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.378, allocations: 19.88 kB / 1.242 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002606/0.3782, allocations: 207.1 kB / 1.243 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3782, allocations: 4.062 kB / 1.243 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005232/0.3788, allocations: 103.9 kB / 1.243 GB, free: 2.098 MB / 0.9825 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.0001449/0.3789, allocations: 99.25 kB / 1.243 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.38, allocations: 0.5957 MB / 1.243 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.38, allocations: 3.938 kB / 1.243 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.3806, allocations: 464.2 kB / 1.244 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3811, allocations: 70.58 kB / 1.244 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3826, allocations: 0.7672 MB / 1.245 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.3832, allocations: 0.835 MB / 1.245 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/0.3833, allocations: 31.44 kB / 1.245 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3833, allocations: 0 / 1.245 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.01388/0.3971, allocations: 8.707 MB / 1.254 GB, free: 6.398 MB / 0.9981 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: 13.20487900194712]