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.0009286/0.0009286, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009914/0.0009914, allocations: 181 kB / 23.36 MB, free: 1.133 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.9228/0.9228, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.309/2.309, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.298e-05, allocations: 4.141 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00658/0.006603, allocations: 3.298 MB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.009038, allocations: 1.273 MB / 0.843 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.0093, allocations: 11.94 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.009872, allocations: 135.2 kB / 0.8432 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00055/0.01042, allocations: 246.5 kB / 0.8434 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.01116, allocations: 199.4 kB / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.01193, allocations: 0.6381 MB / 0.8442 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.01243, allocations: 349.8 kB / 0.8445 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.01288, allocations: 343.2 kB / 0.8449 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.01338, allocations: 239.4 kB / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.01345, allocations: 36 kB / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.01369, allocations: 115.7 kB / 0.8452 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.01386, allocations: 163.5 kB / 0.8454 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.01403, allocations: 159.6 kB / 0.8456 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.01462, allocations: 402.6 kB / 0.8459 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01463, allocations: 0 / 0.8459 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01463, allocations: 0 / 0.8459 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.01464, allocations: 0 / 0.8459 GB, free: 6.609 MB / 0.8073 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.0009681/0.01561, allocations: 0.6048 MB / 0.8465 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01565, allocations: 8.625 kB / 0.8465 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.01653, allocations: 204.5 kB / 0.8467 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.01694, allocations: 260.5 kB / 0.847 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.01697, allocations: 29.38 kB / 0.847 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.01704, allocations: 32.38 kB / 0.847 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.01758, allocations: 497.8 kB / 0.8475 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.01759, allocations: 192 / 0.8475 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.01764, allocations: 16.38 kB / 0.8475 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/0.01769, allocations: 40.52 kB / 0.8476 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.01793, allocations: 116.4 kB / 0.8477 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.01968, allocations: 1.423 MB / 0.8491 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.02001, allocations: 169.2 kB / 0.8492 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.02009, allocations: 36.84 kB / 0.8493 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.0201, allocations: 4 kB / 0.8493 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.02013, allocations: 38.55 kB / 0.8493 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/0.02013, allocations: 0 / 0.8493 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.00071/0.02084, allocations: 268.7 kB / 0.8496 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.02087, allocations: 55.34 kB / 0.8496 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.02108, allocations: 256.8 kB / 0.8499 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.0211, allocations: 33.7 kB / 0.8499 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.02121, allocations: 220 kB / 0.8501 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.02127, allocations: 75.41 kB / 0.8502 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.02136, allocations: 61.62 kB / 0.8502 GB, free: 1.957 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003588/0.02172, allocations: 338.7 kB / 0.8506 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.02178, allocations: 27.98 kB / 0.8506 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.02189, allocations: 111.7 kB / 0.8507 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.02208, allocations: 168.9 kB / 0.8509 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02209, allocations: 0 / 0.8509 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003678/0.02246, allocations: 217.3 kB / 0.8511 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.02247, allocations: 8 kB / 0.8511 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.02249, allocations: 4 kB / 0.8511 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.02278, allocations: 77.97 kB / 0.8511 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.02299, allocations: 59.91 kB / 0.8512 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.02448, allocations: 2.418 MB / 0.8536 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02464, allocations: 31.77 kB / 0.8536 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.02466, allocations: 12 kB / 0.8536 GB, free: 14.2 MB / 0.823 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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.02478, allocations: 128.8 kB / 0.8537 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.02484, allocations: 28.11 kB / 0.8538 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.02488, allocations: 34.11 kB / 0.8538 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.02489, allocations: 7.938 kB / 0.8538 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.0249, allocations: 4 kB / 0.8538 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0249, allocations: 3.984 kB / 0.8538 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.02517, allocations: 173.6 kB / 0.854 GB, free: 13.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02517, allocations: 0 / 0.854 GB, free: 13.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.02531, allocations: 35.92 kB / 0.854 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.02555, allocations: 73.64 kB / 0.8541 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.02557, allocations: 8 kB / 0.8541 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.02695, allocations: 2.402 MB / 0.8564 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.02695, allocations: 8.156 kB / 0.8564 GB, free: 11.08 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.02731, allocations: 289.2 kB / 0.8567 GB, free: 10.78 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.02739, allocations: 39.73 kB / 0.8567 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.02742, allocations: 0 / 0.8567 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.02755, allocations: 15.94 kB / 0.8568 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.02759, allocations: 15.97 kB / 0.8568 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.0276, allocations: 4 kB / 0.8568 GB, free: 10.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.02769, allocations: 86.77 kB / 0.8569 GB, free: 10.62 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.02769, allocations: 7.969 kB / 0.8569 GB, free: 10.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004536/0.02815, allocations: 103.8 kB / 0.857 GB, free: 10.51 MB / 0.823 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.0001224/0.02827, allocations: 88.36 kB / 0.8571 GB, free: 10.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006997/0.02897, allocations: 365.9 kB / 0.8574 GB, free: 10.03 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.02898, allocations: 4 kB / 0.8574 GB, free: 10.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.0292, allocations: 290 kB / 0.8577 GB, free: 9.711 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.02958, allocations: 65.33 kB / 0.8577 GB, free: 9.648 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.03078, allocations: 0.6465 MB / 0.8584 GB, free: 8.969 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.964e-05/0.03088, allocations: 120.6 kB / 0.8585 GB, free: 8.832 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.03101, allocations: 34.97 kB / 0.8585 GB, free: 8.801 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.03121, allocations: 111.3 kB / 0.8586 GB, free: 8.691 MB / 0.823 GB Notification: Performance of SimCode: time 1.012e-06/0.03121, allocations: 0 / 0.8586 GB, free: 8.691 MB / 0.823 GB Notification: Performance of Templates: time 0.008382/0.03959, allocations: 4.095 MB / 0.8626 GB, free: 4.68 MB / 0.823 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.252517028246075]