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.001491/0.001491, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001554/0.001554, allocations: 161 kB / 23.82 MB, free: 0.7539 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.8801/0.8801, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.728/1.728, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.974e-06/1.974e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.112e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005197/0.005228, allocations: 3.344 MB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.00722, allocations: 1.263 MB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.007387, allocations: 15.94 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.007916, allocations: 123.2 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.008356, allocations: 247.5 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.00873, allocations: 205.3 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.009351, allocations: 0.636 MB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.009785, allocations: 339.1 kB / 0.7931 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.01005, allocations: 351.3 kB / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.01042, allocations: 248.8 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.01047, allocations: 40 kB / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.01062, allocations: 107.7 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.01074, allocations: 167.5 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.01086, allocations: 153.8 kB / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.01126, allocations: 402.6 kB / 0.7945 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01126, allocations: 0 / 0.7945 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01126, allocations: 0 / 0.7945 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.01127, allocations: 0 / 0.7945 GB, free: 4.926 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.0008121/0.01208, allocations: 0.7525 MB / 0.7952 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01211, allocations: 8.031 kB / 0.7952 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.01273, allocations: 213.8 kB / 0.7954 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.01304, allocations: 281.2 kB / 0.7957 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.01306, allocations: 34.73 kB / 0.7957 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.0131, allocations: 32.38 kB / 0.7957 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.01357, allocations: 0.5345 MB / 0.7963 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.01358, allocations: 5.25 kB / 0.7963 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.01361, allocations: 12.38 kB / 0.7963 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.01365, allocations: 36.58 kB / 0.7963 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.01388, allocations: 165 kB / 0.7965 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.01533, allocations: 2.05 MB / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.01563, allocations: 185.6 kB / 0.7987 GB, free: 424 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.01571, allocations: 51.67 kB / 0.7987 GB, free: 368 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.01572, allocations: 0 / 0.7987 GB, free: 368 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.01574, allocations: 45.33 kB / 0.7987 GB, free: 312 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.022e-06/0.01574, allocations: 0 / 0.7987 GB, free: 312 kB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001141/0.01688, allocations: 0.686 MB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.01691, allocations: 55.41 kB / 0.7995 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.0171, allocations: 317.1 kB / 0.7998 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01712, allocations: 29.7 kB / 0.7998 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01723, allocations: 286.7 kB / 0.8001 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.01728, allocations: 83.06 kB / 0.8002 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.01735, allocations: 67.64 kB / 0.8002 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01748, allocations: 0.5117 MB / 0.8007 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.01755, allocations: 44.62 kB / 0.8008 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01768, allocations: 173.6 kB / 0.8009 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.01789, allocations: 232.4 kB / 0.8011 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01789, allocations: 1.125 kB / 0.8011 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003845/0.01827, allocations: 334.4 kB / 0.8015 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01829, allocations: 11.98 kB / 0.8015 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01829, allocations: 0 / 0.8015 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.01861, allocations: 124.6 kB / 0.8016 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.01876, allocations: 63.91 kB / 0.8017 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.02095, allocations: 5.287 MB / 0.8068 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.02106, allocations: 8 kB / 0.8068 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.02108, allocations: 12 kB / 0.8068 GB, free: 7.426 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.0001087/0.02119, allocations: 184.4 kB / 0.807 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.02123, allocations: 39.95 kB / 0.8071 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.02126, allocations: 38.25 kB / 0.8071 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.02127, allocations: 4 kB / 0.8071 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.02127, allocations: 4.062 kB / 0.8071 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.02128, allocations: 3.938 kB / 0.8071 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.02151, allocations: 264.5 kB / 0.8074 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02151, allocations: 0 / 0.8074 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.02161, allocations: 39.91 kB / 0.8074 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.02187, allocations: 118.9 kB / 0.8075 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.02188, allocations: 4 kB / 0.8075 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.02385, allocations: 5.291 MB / 0.8127 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02385, allocations: 144 / 0.8127 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.02428, allocations: 436.8 kB / 0.8131 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.02434, allocations: 47.78 kB / 0.8131 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.02436, allocations: 4 kB / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.02445, allocations: 8 kB / 0.8132 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.0245, allocations: 31.91 kB / 0.8132 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.02451, allocations: 4 kB / 0.8132 GB, free: 484 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001107/0.02462, allocations: 209.1 kB / 0.8134 GB, free: 276 kB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02462, allocations: 0 / 0.8134 GB, free: 276 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002952/0.02492, allocations: 99.94 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 9.968e-05/0.02502, allocations: 107.2 kB / 0.8136 GB, free: 60 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.02566, allocations: 0.6768 MB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02566, allocations: 0 / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.02594, allocations: 0.5906 MB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.02623, allocations: 65.06 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.02733, allocations: 0.6502 MB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.266e-05/0.02741, allocations: 128.6 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.02752, allocations: 50.92 kB / 0.8157 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.02757, allocations: 20.5 kB / 0.8157 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of SimCode: time 9.71e-07/0.02757, allocations: 4 kB / 0.8157 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.007137/0.0347, allocations: 4.586 MB / 0.8202 GB, free: 9.223 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: 4.846646051853895]