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.00125/0.00125, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001392/0.001392, allocations: 169 kB / 23.02 MB, free: 1.551 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.9886/0.9886, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.143/2.143, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 2.003e-06/2.003e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.98e-05, allocations: 5.703 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005009/0.005039, allocations: 3.33 MB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.007127, allocations: 1.25 MB / 0.8826 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.007279, allocations: 15.88 kB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.007851, allocations: 134.2 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.008312, allocations: 242.5 kB / 0.883 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.00872, allocations: 205.8 kB / 0.8832 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000646/0.009366, allocations: 0.6305 MB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.009927, allocations: 343.1 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.01032, allocations: 352.7 kB / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.01076, allocations: 247.3 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.01082, allocations: 43.98 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.01104, allocations: 111.6 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.0112, allocations: 163.5 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.01137, allocations: 155.7 kB / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.01188, allocations: 406.6 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01188, allocations: 0 / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01188, allocations: 0 / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.01189, allocations: 0 / 0.8855 GB, free: 14.77 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.001085/0.01297, allocations: 0.7493 MB / 0.8863 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.01301, allocations: 12.03 kB / 0.8863 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009694/0.01398, allocations: 208.3 kB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.01442, allocations: 291.3 kB / 0.8868 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.01445, allocations: 25.36 kB / 0.8868 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.01451, allocations: 36.38 kB / 0.8868 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.01519, allocations: 0.5228 MB / 0.8873 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.0152, allocations: 4.188 kB / 0.8873 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.01524, allocations: 12.38 kB / 0.8874 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.0153, allocations: 40.56 kB / 0.8874 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.01569, allocations: 167.6 kB / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.01766, allocations: 2.039 MB / 0.8895 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.01809, allocations: 199 kB / 0.8897 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.0182, allocations: 51.66 kB / 0.8898 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.01822, allocations: 4.344 kB / 0.8898 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.01825, allocations: 41.39 kB / 0.8898 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.01825, allocations: 0 / 0.8898 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001684/0.01993, allocations: 0.6905 MB / 0.8905 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.01996, allocations: 51.41 kB / 0.8906 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.02023, allocations: 312.2 kB / 0.8908 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.02026, allocations: 37.69 kB / 0.8909 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.02041, allocations: 286.7 kB / 0.8912 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.02048, allocations: 83.33 kB / 0.8912 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.02058, allocations: 71.64 kB / 0.8913 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.02073, allocations: 0.5078 MB / 0.8918 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.02085, allocations: 48.62 kB / 0.8918 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.02103, allocations: 165.7 kB / 0.892 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.02134, allocations: 243.5 kB / 0.8922 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02135, allocations: 0 / 0.8922 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006204/0.02197, allocations: 326.7 kB / 0.8925 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.02198, allocations: 8.062 kB / 0.8926 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02199, allocations: 4 kB / 0.8926 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.02249, allocations: 122.9 kB / 0.8927 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.02274, allocations: 67.89 kB / 0.8927 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.02584, allocations: 5.284 MB / 0.8979 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.02595, allocations: 11.94 kB / 0.8979 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.02596, allocations: 20.19 kB / 0.8979 GB, free: 1.223 MB / 0.8542 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 9.569e-05/0.02606, allocations: 180.3 kB / 0.8981 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.0261, allocations: 39.81 kB / 0.8981 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.02613, allocations: 38.27 kB / 0.8982 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.02613, allocations: 0 / 0.8982 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02614, allocations: 4 kB / 0.8982 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.02614, allocations: 3.984 kB / 0.8982 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.02636, allocations: 264.5 kB / 0.8984 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02636, allocations: 4 kB / 0.8984 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.02646, allocations: 31.98 kB / 0.8985 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.02673, allocations: 126.9 kB / 0.8986 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.02674, allocations: 0 / 0.8986 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.02863, allocations: 5.284 MB / 0.9038 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02863, allocations: 0 / 0.9038 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.02902, allocations: 452.6 kB / 0.9042 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.02908, allocations: 39.8 kB / 0.9042 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.0291, allocations: 8 kB / 0.9042 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.02919, allocations: 11.98 kB / 0.9042 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.02923, allocations: 15.97 kB / 0.9043 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.02924, allocations: 8 kB / 0.9043 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001126/0.02935, allocations: 213.1 kB / 0.9045 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.02935, allocations: 4.031 kB / 0.9045 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002583/0.02961, allocations: 95.94 kB / 0.9046 GB, free: 9.98 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.498e-05/0.0297, allocations: 103.2 kB / 0.9047 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.0302, allocations: 0.6755 MB / 0.9053 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0302, allocations: 4 kB / 0.9053 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.03047, allocations: 0.5791 MB / 0.9059 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.03076, allocations: 74.72 kB / 0.906 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.0317, allocations: 0.6563 MB / 0.9066 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.141e-05/0.03178, allocations: 132.6 kB / 0.9067 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.03189, allocations: 46.94 kB / 0.9068 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.03193, allocations: 24.5 kB / 0.9068 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of SimCode: time 4.1e-07/0.03193, allocations: 0 / 0.9068 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.006343/0.03827, allocations: 4.588 MB / 0.9113 GB, free: 3.012 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.276971655897796]