Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009892/0.0009892, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009797/0.0009797, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9585/0.9585, allocations: 177.1 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.846/1.846, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.156e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003653/0.003675, allocations: 3.323 MB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.005415, allocations: 1.261 MB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.005591, allocations: 11.94 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.006144, allocations: 128.8 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.006511, allocations: 246 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.006829, allocations: 203.4 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.007354, allocations: 0.6351 MB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006887/0.008043, allocations: 343.1 kB / 0.7931 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.008338, allocations: 352.9 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.008728, allocations: 243.3 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.008781, allocations: 39.94 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.008965, allocations: 112.6 kB / 0.7938 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.009091, allocations: 167.5 kB / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.009219, allocations: 155.7 kB / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.009659, allocations: 403.6 kB / 0.7945 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.009662, allocations: 0 / 0.7945 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.009663, allocations: 5.344 kB / 0.7945 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.009671, allocations: 0 / 0.7945 GB, free: 4.922 MB / 0.7448 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.0008977/0.01057, allocations: 0.7434 MB / 0.7952 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.01062, allocations: 8.938 kB / 0.7952 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/0.01128, allocations: 218 kB / 0.7954 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.01164, allocations: 285.2 kB / 0.7957 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.01167, allocations: 25.38 kB / 0.7957 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.01173, allocations: 41.42 kB / 0.7958 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.01224, allocations: 0.5189 MB / 0.7963 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01225, allocations: 4.172 kB / 0.7963 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.01228, allocations: 20.89 kB / 0.7963 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.01234, allocations: 33.89 kB / 0.7963 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.01259, allocations: 168.8 kB / 0.7965 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.01418, allocations: 2.042 MB / 0.7985 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.01452, allocations: 188.2 kB / 0.7986 GB, free: 432 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.0146, allocations: 61.55 kB / 0.7987 GB, free: 368 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01462, allocations: 8.828 kB / 0.7987 GB, free: 360 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01465, allocations: 33.39 kB / 0.7987 GB, free: 316 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 3.988e-06/0.01465, allocations: 2.219 kB / 0.7988 GB, free: 316 kB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001286/0.01594, allocations: 0.6797 MB / 0.7994 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.01597, allocations: 55.41 kB / 0.7995 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.01637, allocations: 320.8 kB / 0.7998 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.01639, allocations: 29.7 kB / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01653, allocations: 283.3 kB / 0.8001 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.01658, allocations: 83.31 kB / 0.8002 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.01665, allocations: 72.2 kB / 0.8002 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01679, allocations: 0.5129 MB / 0.8007 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.01686, allocations: 44.62 kB / 0.8008 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.017, allocations: 169.7 kB / 0.8009 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.01722, allocations: 237 kB / 0.8012 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01723, allocations: 0 / 0.8012 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004172/0.01764, allocations: 331.3 kB / 0.8015 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01766, allocations: 8 kB / 0.8015 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01767, allocations: 1.031 kB / 0.8015 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.01801, allocations: 132.6 kB / 0.8016 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.01816, allocations: 59.91 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.02086, allocations: 5.291 MB / 0.8068 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.02111, allocations: 12 kB / 0.8068 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.02112, allocations: 8 kB / 0.8068 GB, free: 7.43 MB / 0.7605 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.0001824/0.0213, allocations: 180.4 kB / 0.807 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.02137, allocations: 39.81 kB / 0.8071 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.02142, allocations: 38.27 kB / 0.8071 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.02143, allocations: 4 kB / 0.8071 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.02144, allocations: 0 / 0.8071 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.02145, allocations: 8.016 kB / 0.8071 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.02179, allocations: 264.4 kB / 0.8074 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.02179, allocations: 4 kB / 0.8074 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.02196, allocations: 27.98 kB / 0.8074 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/0.02248, allocations: 126.9 kB / 0.8075 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.02251, allocations: 4 kB / 0.8075 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.02545, allocations: 5.296 MB / 0.8127 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.02545, allocations: 0 / 0.8127 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.026, allocations: 432.8 kB / 0.8131 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.02612, allocations: 47.8 kB / 0.8131 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.02614, allocations: 4 kB / 0.8131 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.02628, allocations: 15.98 kB / 0.8132 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.02635, allocations: 23.83 kB / 0.8132 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.02636, allocations: 8.094 kB / 0.8132 GB, free: 488 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001419/0.0265, allocations: 209.1 kB / 0.8134 GB, free: 280 kB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0265, allocations: 0 / 0.8134 GB, free: 280 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004536/0.02696, allocations: 103.9 kB / 0.8135 GB, free: 176 kB / 0.7605 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.000169/0.02712, allocations: 103.2 kB / 0.8136 GB, free: 64 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.02792, allocations: 0.6691 MB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.02792, allocations: 0 / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.0283, allocations: 0.5865 MB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.02868, allocations: 72.31 kB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.03, allocations: 0.6553 MB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.03011, allocations: 124.6 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.03028, allocations: 46.94 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.03034, allocations: 24.5 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.373e-06/0.03034, allocations: 4 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.008264/0.0386, allocations: 4.402 MB / 0.82 GB, free: 9.418 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.666902942117304]