Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001022/0.001022, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009805/0.0009805, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.144/2.144, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 4 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.212e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004139/0.004161, allocations: 4.468 MB / 0.8825 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.006412, allocations: 1.892 MB / 0.8844 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.006571, allocations: 13 kB / 0.8844 GB, free: 292 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.007511, allocations: 0.6104 MB / 0.885 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.007978, allocations: 283.3 kB / 0.8853 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.008403, allocations: 249 kB / 0.8855 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.008925, allocations: 0.6348 MB / 0.8861 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.00937, allocations: 348.7 kB / 0.8864 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.009665, allocations: 355.2 kB / 0.8868 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.01002, allocations: 239.3 kB / 0.887 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.01007, allocations: 43.06 kB / 0.887 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.01036, allocations: 227.4 kB / 0.8873 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01051, allocations: 171.5 kB / 0.8874 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.01063, allocations: 155.7 kB / 0.8876 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.01111, allocations: 474.4 kB / 0.888 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01111, allocations: 0 / 0.888 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01111, allocations: 0 / 0.888 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.01112, allocations: 0 / 0.888 GB, free: 12.55 MB / 0.8542 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.0008082/0.01193, allocations: 0.7683 MB / 0.8888 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01196, allocations: 12.03 kB / 0.8888 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006228/0.01259, allocations: 213.3 kB / 0.889 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.01292, allocations: 283.9 kB / 0.8893 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.01294, allocations: 25.38 kB / 0.8893 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.01299, allocations: 40.34 kB / 0.8893 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.01345, allocations: 0.5228 MB / 0.8898 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01346, allocations: 4.188 kB / 0.8898 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.01349, allocations: 20.36 kB / 0.8899 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.01353, allocations: 40.58 kB / 0.8899 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.01377, allocations: 163.7 kB / 0.8901 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.01517, allocations: 2.047 MB / 0.8921 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.01548, allocations: 188.1 kB / 0.8922 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.01555, allocations: 55.59 kB / 0.8923 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.01556, allocations: 4.344 kB / 0.8923 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.01558, allocations: 37.39 kB / 0.8923 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.01559, allocations: 0 / 0.8923 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001155/0.01674, allocations: 0.6893 MB / 0.893 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.01677, allocations: 51.41 kB / 0.893 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.01697, allocations: 316.1 kB / 0.8934 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.01699, allocations: 33.7 kB / 0.8934 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.0171, allocations: 282.8 kB / 0.8937 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.01715, allocations: 87.27 kB / 0.8937 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.01722, allocations: 67.64 kB / 0.8938 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.01735, allocations: 0.5117 MB / 0.8943 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.01743, allocations: 52.62 kB / 0.8944 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.01756, allocations: 169.6 kB / 0.8945 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01777, allocations: 235.6 kB / 0.8947 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01777, allocations: 0 / 0.8947 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003845/0.01815, allocations: 330.7 kB / 0.8951 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01817, allocations: 8 kB / 0.8951 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01817, allocations: 4 kB / 0.8951 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.0185, allocations: 123 kB / 0.8952 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01865, allocations: 63.91 kB / 0.8952 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.02082, allocations: 5.295 MB / 0.9004 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.02093, allocations: 8 kB / 0.9004 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.02095, allocations: 12.19 kB / 0.9004 GB, free: 15 MB / 0.8698 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.0001079/0.02105, allocations: 184.4 kB / 0.9006 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.0211, allocations: 39.81 kB / 0.9006 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.02113, allocations: 38.27 kB / 0.9007 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.02113, allocations: 0 / 0.9007 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.02114, allocations: 4 kB / 0.9007 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02115, allocations: 0 / 0.9007 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.02137, allocations: 264.4 kB / 0.9009 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02137, allocations: 4 kB / 0.9009 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.02147, allocations: 39.92 kB / 0.901 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.02174, allocations: 111 kB / 0.9011 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.02175, allocations: 15.97 kB / 0.9011 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.02368, allocations: 5.276 MB / 0.9063 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02368, allocations: 0 / 0.9063 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.02407, allocations: 438.4 kB / 0.9067 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.02414, allocations: 47.78 kB / 0.9067 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.02416, allocations: 4 kB / 0.9067 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.02425, allocations: 11.98 kB / 0.9067 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.02429, allocations: 23.91 kB / 0.9068 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.0243, allocations: 4 kB / 0.9068 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000123/0.02443, allocations: 217.1 kB / 0.907 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02443, allocations: 4.031 kB / 0.907 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002994/0.02472, allocations: 99.94 kB / 0.9071 GB, free: 7.746 MB / 0.8698 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.198e-05/0.02482, allocations: 95.25 kB / 0.9072 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.02533, allocations: 0.679 MB / 0.9078 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02534, allocations: 0 / 0.9078 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.02562, allocations: 0.5792 MB / 0.9084 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.02594, allocations: 90.17 kB / 0.9085 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.02694, allocations: 0.6565 MB / 0.9091 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.02702, allocations: 132.6 kB / 0.9092 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.02714, allocations: 50.92 kB / 0.9093 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.02718, allocations: 24.5 kB / 0.9093 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/0.02718, allocations: 0 / 0.9093 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of Templates: time 0.006144/0.03333, allocations: 4.392 MB / 0.9136 GB, free: 0.9688 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.524918345967308]