Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001826/0.001826, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002339/0.002339, allocations: 164.7 kB / 23.01 MB, free: 4.598 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.894/2.894, allocations: 377.9 MB / 0.6228 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00214/0.00214, allocations: 67.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005205/1.184, allocations: 4.283 MB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002523/1.186, allocations: 1.83 MB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/1.187, allocations: 12.38 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/1.188, allocations: 0.5952 MB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005266/1.189, allocations: 267.8 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/1.189, allocations: 258.5 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006083/1.19, allocations: 0.6148 MB / 1.162 GB, free: 28.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/1.19, allocations: 338.9 kB / 1.162 GB, free: 28.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/1.191, allocations: 253.1 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/1.191, allocations: 267.9 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/1.191, allocations: 36.78 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/1.191, allocations: 236.6 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/1.191, allocations: 154 kB / 1.163 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/1.192, allocations: 184 kB / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/1.192, allocations: 0.6162 MB / 1.164 GB, free: 27.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.192, allocations: 0 / 1.164 GB, free: 27.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/1.192, allocations: 0 / 1.164 GB, free: 27.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.192, allocations: 0 / 1.164 GB, free: 27.67 MB / 1.076 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.001097/1.193, allocations: 0.6612 MB / 1.164 GB, free: 27.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.193, allocations: 10.75 kB / 1.164 GB, free: 27.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/1.194, allocations: 146.8 kB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/1.195, allocations: 285 kB / 1.165 GB, free: 26.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/1.195, allocations: 30.64 kB / 1.165 GB, free: 26.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/1.195, allocations: 31.22 kB / 1.165 GB, free: 26.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/1.196, allocations: 0.6853 MB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.196, allocations: 0 / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/1.196, allocations: 17.25 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/1.196, allocations: 31.81 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/1.196, allocations: 384.3 kB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/1.198, allocations: 1.672 MB / 1.167 GB, free: 25.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/1.198, allocations: 250.2 kB / 1.168 GB, free: 24.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/1.199, allocations: 98.77 kB / 1.168 GB, free: 24.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/1.199, allocations: 2.906 kB / 1.168 GB, free: 24.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/1.199, allocations: 34.52 kB / 1.168 GB, free: 24.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/1.199, allocations: 0 / 1.168 GB, free: 24.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001847/1.2, allocations: 0.8972 MB / 1.169 GB, free: 24.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.2, allocations: 65.38 kB / 1.169 GB, free: 24.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.201, allocations: 267.7 kB / 1.169 GB, free: 24.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/1.201, allocations: 32.33 kB / 1.169 GB, free: 24.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.201, allocations: 245 kB / 1.169 GB, free: 23.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/1.201, allocations: 80.41 kB / 1.169 GB, free: 23.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/1.201, allocations: 71 kB / 1.169 GB, free: 23.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/1.201, allocations: 334.2 kB / 1.17 GB, free: 23.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.201, allocations: 105.8 kB / 1.17 GB, free: 23.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/1.201, allocations: 184.8 kB / 1.17 GB, free: 23.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/1.202, allocations: 315.6 kB / 1.17 GB, free: 23.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.202, allocations: 0 / 1.17 GB, free: 23.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006266/1.202, allocations: 440.4 kB / 1.171 GB, free: 22.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.202, allocations: 7.562 kB / 1.171 GB, free: 22.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.202, allocations: 2.625 kB / 1.171 GB, free: 22.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/1.203, allocations: 100 kB / 1.171 GB, free: 22.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/1.203, allocations: 63.06 kB / 1.171 GB, free: 22.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/1.205, allocations: 4.008 MB / 1.175 GB, free: 19.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/1.205, allocations: 15.02 kB / 1.175 GB, free: 19.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/1.206, allocations: 14.14 kB / 1.175 GB, free: 19.01 MB / 1.076 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.0001949/1.206, allocations: 182.2 kB / 1.175 GB, free: 18.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/1.206, allocations: 30.12 kB / 1.175 GB, free: 18.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/1.206, allocations: 40.62 kB / 1.175 GB, free: 18.81 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.206, allocations: 2.625 kB / 1.175 GB, free: 18.81 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.206, allocations: 5.125 kB / 1.175 GB, free: 18.81 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.206, allocations: 0.7812 kB / 1.175 GB, free: 18.81 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/1.206, allocations: 284 kB / 1.175 GB, free: 18.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.206, allocations: 0.5 kB / 1.175 GB, free: 18.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.207, allocations: 42.7 kB / 1.175 GB, free: 18.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/1.207, allocations: 87.31 kB / 1.175 GB, free: 18.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.207, allocations: 5.562 kB / 1.175 GB, free: 18.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/1.209, allocations: 3.995 MB / 1.179 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.209, allocations: 9.156 kB / 1.179 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/1.21, allocations: 0.552 MB / 1.18 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/1.21, allocations: 44.72 kB / 1.18 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/1.21, allocations: 8.422 kB / 1.18 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/1.21, allocations: 9.938 kB / 1.18 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/1.21, allocations: 31.62 kB / 1.18 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/1.21, allocations: 4.375 kB / 1.18 GB, free: 14.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001671/1.211, allocations: 194.4 kB / 1.18 GB, free: 14.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.211, allocations: 0 / 1.18 GB, free: 14.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004823/1.211, allocations: 98.81 kB / 1.18 GB, free: 14.26 MB / 1.076 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.0001169/1.211, allocations: 104.6 kB / 1.18 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007765/1.212, allocations: 0.5915 MB / 1.181 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.212, allocations: 1.156 kB / 1.181 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/1.212, allocations: 461 kB / 1.181 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/1.213, allocations: 68.02 kB / 1.181 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/1.214, allocations: 0.7347 MB / 1.182 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.214, allocations: 227.4 kB / 1.182 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001851/1.215, allocations: 53.47 kB / 1.182 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.167e-05/1.215, allocations: 23.62 kB / 1.182 GB, free: 12.78 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.215, allocations: 0 / 1.182 GB, free: 12.78 MB / 1.076 GB Notification: Performance of Templates: time 0.0102/1.225, allocations: 4.333 MB / 1.187 GB, free: 12.27 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.899004563922063]