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.0009541/0.0009541, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009118/0.0009118, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9128/0.9128, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.324/2.324, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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 1.693e-06/1.693e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.533e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005211/0.005236, allocations: 3.297 MB / 0.8929 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.007753, allocations: 1.246 MB / 0.8942 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.007935, allocations: 15.88 kB / 0.8942 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.008373, allocations: 135.2 kB / 0.8943 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.008735, allocations: 238.5 kB / 0.8945 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.009073, allocations: 199.5 kB / 0.8947 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.009567, allocations: 0.6421 MB / 0.8953 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.009949, allocations: 347.2 kB / 0.8957 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.01024, allocations: 355.2 kB / 0.896 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.01056, allocations: 243.4 kB / 0.8962 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.0106, allocations: 36 kB / 0.8963 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.01077, allocations: 111.7 kB / 0.8964 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.01088, allocations: 167.5 kB / 0.8965 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.01099, allocations: 159.6 kB / 0.8967 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.01133, allocations: 402.7 kB / 0.8971 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01133, allocations: 0 / 0.8971 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01134, allocations: 0 / 0.8971 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.01134, allocations: 0 / 0.8971 GB, free: 2.195 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.0006892/0.01203, allocations: 0.7411 MB / 0.8978 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.01206, allocations: 12.62 kB / 0.8978 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.01258, allocations: 196.4 kB / 0.898 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.01284, allocations: 271.4 kB / 0.8983 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.01285, allocations: 29.31 kB / 0.8983 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.0129, allocations: 36.38 kB / 0.8983 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.01326, allocations: 0.5032 MB / 0.8988 GB, free: 280 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.01327, allocations: 4.125 kB / 0.8988 GB, free: 276 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.01329, allocations: 16.38 kB / 0.8988 GB, free: 260 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.01332, allocations: 36.58 kB / 0.8989 GB, free: 220 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.01347, allocations: 132.3 kB / 0.899 GB, free: 88 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.01471, allocations: 1.973 MB / 0.9009 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.01501, allocations: 189.6 kB / 0.9011 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.01508, allocations: 39.67 kB / 0.9011 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.01509, allocations: 4 kB / 0.9011 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.01511, allocations: 45.38 kB / 0.9012 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.01512, allocations: 4 kB / 0.9012 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.001181/0.0163, allocations: 0.5962 MB / 0.9018 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.01633, allocations: 55.41 kB / 0.9018 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.01656, allocations: 308.1 kB / 0.9021 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.01658, allocations: 33.7 kB / 0.9022 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.01672, allocations: 290.6 kB / 0.9024 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.01678, allocations: 83.31 kB / 0.9025 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01688, allocations: 75.62 kB / 0.9026 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01703, allocations: 0.5156 MB / 0.9031 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.01709, allocations: 32.62 kB / 0.9031 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.01722, allocations: 161.7 kB / 0.9033 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.01744, allocations: 208 kB / 0.9035 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01744, allocations: 7.938 kB / 0.9035 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004444/0.01788, allocations: 314.7 kB / 0.9038 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.0179, allocations: 4 kB / 0.9038 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.0179, allocations: 4 kB / 0.9038 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.01825, allocations: 119 kB / 0.9039 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.01845, allocations: 63.91 kB / 0.904 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.021, allocations: 5.219 MB / 0.9091 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.02114, allocations: 12 kB / 0.9091 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.02116, allocations: 8 kB / 0.9091 GB, free: 5.086 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.0001202/0.02128, allocations: 180.4 kB / 0.9092 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.02134, allocations: 39.75 kB / 0.9093 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.02138, allocations: 42.27 kB / 0.9093 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.02138, allocations: 3.938 kB / 0.9093 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.02139, allocations: 8.062 kB / 0.9093 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.0214, allocations: 0 / 0.9093 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.02166, allocations: 209 kB / 0.9095 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02166, allocations: 4 kB / 0.9095 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.02178, allocations: 27.98 kB / 0.9096 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/0.02209, allocations: 123 kB / 0.9097 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.02211, allocations: 11.92 kB / 0.9097 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.02444, allocations: 5.215 MB / 0.9148 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02444, allocations: 0 / 0.9148 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.02486, allocations: 402.5 kB / 0.9152 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.02493, allocations: 47.73 kB / 0.9152 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.02495, allocations: 0 / 0.9152 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.02509, allocations: 19.98 kB / 0.9152 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.02513, allocations: 20 kB / 0.9153 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.02514, allocations: 8 kB / 0.9153 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001213/0.02526, allocations: 201.1 kB / 0.9155 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.02526, allocations: 0 / 0.9155 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004201/0.02568, allocations: 100 kB / 0.9155 GB, free: 14.03 MB / 0.8855 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.0001015/0.02578, allocations: 99.25 kB / 0.9156 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.02631, allocations: 0.6669 MB / 0.9163 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02631, allocations: 3.938 kB / 0.9163 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.02665, allocations: 0.5758 MB / 0.9169 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.02702, allocations: 64.92 kB / 0.9169 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.02813, allocations: 0.662 MB / 0.9176 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.02824, allocations: 132.6 kB / 0.9177 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.02836, allocations: 30.95 kB / 0.9177 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.02853, allocations: 138.2 kB / 0.9179 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of SimCode: time 6.02e-07/0.02853, allocations: 4 kB / 0.9179 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of Templates: time 0.007995/0.03653, allocations: 4.699 MB / 0.9224 GB, free: 6.887 MB / 0.8855 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.164408779237419]