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.0008384/0.0008384, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008051/0.0008051, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9151/0.9151, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.9 MB / 0.6229 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.219e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004409/0.004441, allocations: 4.228 MB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.006324, allocations: 1.823 MB / 0.9881 GB, free: 12.01 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.006467, allocations: 11.94 kB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008765/0.007343, allocations: 0.5952 MB / 0.9887 GB, free: 11.4 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.007707, allocations: 274.2 kB / 0.9889 GB, free: 11.13 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.008033, allocations: 258.4 kB / 0.9892 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.008571, allocations: 0.6343 MB / 0.9898 GB, free: 10.24 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.008993, allocations: 339.1 kB / 0.9901 GB, free: 9.914 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.009249, allocations: 351.2 kB / 0.9905 GB, free: 9.57 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.009574, allocations: 239.3 kB / 0.9907 GB, free: 9.336 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.009615, allocations: 39.98 kB / 0.9907 GB, free: 9.297 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.009861, allocations: 243.2 kB / 0.991 GB, free: 9.059 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.009968, allocations: 171.5 kB / 0.9911 GB, free: 8.891 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.01008, allocations: 151.7 kB / 0.9913 GB, free: 8.742 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.01058, allocations: 0.6231 MB / 0.9919 GB, free: 8.117 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01059, allocations: 0 / 0.9919 GB, free: 8.117 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01059, allocations: 0 / 0.9919 GB, free: 8.117 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.01059, allocations: 0 / 0.9919 GB, free: 8.117 MB / 0.948 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.0008268/0.01142, allocations: 0.6532 MB / 0.9925 GB, free: 7.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.01146, allocations: 12.02 kB / 0.9925 GB, free: 7.418 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.01198, allocations: 152.5 kB / 0.9927 GB, free: 7.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.01232, allocations: 276.5 kB / 0.9929 GB, free: 6.973 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.01234, allocations: 29.38 kB / 0.993 GB, free: 6.945 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.01238, allocations: 28.38 kB / 0.993 GB, free: 6.918 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.01295, allocations: 0.6826 MB / 0.9936 GB, free: 6.164 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01296, allocations: 192 / 0.9936 GB, free: 6.164 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.01299, allocations: 16.38 kB / 0.9937 GB, free: 6.148 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.01303, allocations: 36.56 kB / 0.9937 GB, free: 6.113 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.01342, allocations: 394.2 kB / 0.9941 GB, free: 5.727 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.01479, allocations: 1.652 MB / 0.9957 GB, free: 4.008 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.01516, allocations: 254.4 kB / 0.9959 GB, free: 3.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.01527, allocations: 100.8 kB / 0.996 GB, free: 3.648 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.01528, allocations: 0 / 0.996 GB, free: 3.648 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.0153, allocations: 34.56 kB / 0.9961 GB, free: 3.605 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.0153, allocations: 0 / 0.9961 GB, free: 3.605 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001407/0.01671, allocations: 0.9071 MB / 0.9969 GB, free: 2.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.01674, allocations: 55.41 kB / 0.997 GB, free: 2.594 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.01692, allocations: 277.7 kB / 0.9973 GB, free: 2.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.01694, allocations: 25.7 kB / 0.9973 GB, free: 2.289 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01704, allocations: 236 kB / 0.9975 GB, free: 2.055 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01709, allocations: 79.33 kB / 0.9976 GB, free: 1.977 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.01715, allocations: 65.98 kB / 0.9977 GB, free: 1.902 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.01724, allocations: 342.7 kB / 0.998 GB, free: 1.559 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01735, allocations: 104.6 kB / 0.9981 GB, free: 1.457 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.01749, allocations: 187.7 kB / 0.9983 GB, free: 1.234 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01776, allocations: 315.5 kB / 0.9986 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01776, allocations: 0 / 0.9986 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004522/0.01821, allocations: 445.8 kB / 0.999 GB, free: 452 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01823, allocations: 8 kB / 0.999 GB, free: 444 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01823, allocations: 0 / 0.999 GB, free: 444 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.01844, allocations: 106.8 kB / 0.9991 GB, free: 328 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01859, allocations: 67.91 kB / 0.9992 GB, free: 260 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.02049, allocations: 4.005 MB / 1.003 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.02059, allocations: 8 kB / 1.003 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.02061, allocations: 12.28 kB / 1.003 GB, free: 11.92 MB / 0.9636 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.0001343/0.02074, allocations: 189.6 kB / 1.003 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.02078, allocations: 27.81 kB / 1.003 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.02081, allocations: 38.27 kB / 1.003 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.02081, allocations: 0 / 1.003 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.02081, allocations: 4 kB / 1.003 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.02082, allocations: 0 / 1.003 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.02113, allocations: 289.1 kB / 1.004 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02113, allocations: 3.938 kB / 1.004 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.02123, allocations: 35.98 kB / 1.004 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.02138, allocations: 94.44 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.0214, allocations: 8 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.02306, allocations: 3.994 MB / 1.008 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02306, allocations: 4.062 kB / 1.008 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.02354, allocations: 0.5549 MB / 1.008 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.0236, allocations: 43.81 kB / 1.008 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.02362, allocations: 8 kB / 1.008 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.02371, allocations: 4 kB / 1.008 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.02374, allocations: 23.83 kB / 1.008 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.02375, allocations: 11.98 kB / 1.008 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001099/0.02386, allocations: 185.3 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02386, allocations: 0 / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002776/0.02414, allocations: 103.9 kB / 1.009 GB, free: 5.941 MB / 0.9636 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 9.596e-05/0.02424, allocations: 111.7 kB / 1.009 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.02473, allocations: 0.59 MB / 1.009 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02473, allocations: 0 / 1.009 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.02499, allocations: 459.9 kB / 1.01 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.02528, allocations: 74.14 kB / 1.01 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/0.02613, allocations: 0.7191 MB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.02627, allocations: 228 kB / 1.011 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.02633, allocations: 28.5 kB / 1.011 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/0.02633, allocations: 0 / 1.011 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of Templates: time 0.006392/0.03272, allocations: 8.69 MB / 1.019 GB, free: 10.92 MB / 0.9792 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.325958365574479]