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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 103.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 249.9 MB, free: 3.066 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7634 GB, free: 15.21 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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=501,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 0.002212/0.002212, allocations: 71.88 kB / 1.108 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8963/0.8985, allocations: 168.7 MB / 1.272 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005551/0.9041, allocations: 4.424 MB / 1.277 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.9069, allocations: 1.882 MB / 1.279 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.9072, allocations: 12.88 kB / 1.279 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.9087, allocations: 0.5997 MB / 1.279 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.9094, allocations: 262.3 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.91, allocations: 260 kB / 1.28 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.9107, allocations: 0.6102 MB / 1.28 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.9113, allocations: 369.9 kB / 1.281 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.9117, allocations: 249.5 kB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005158/0.9122, allocations: 282 kB / 1.281 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.902e-05/0.9123, allocations: 36.34 kB / 1.281 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.9128, allocations: 266 kB / 1.281 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.913, allocations: 153.7 kB / 1.282 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.9132, allocations: 214.8 kB / 1.282 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.914, allocations: 0.6095 MB / 1.282 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.914, allocations: 0.7969 kB / 1.282 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.914, allocations: 4 kB / 1.282 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.914, allocations: 1.344 kB / 1.282 GB, free: 1.898 MB / 0.9981 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.001126/0.9151, allocations: 0.7284 MB / 1.283 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.9152, allocations: 11.88 kB / 1.283 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/0.9161, allocations: 157.1 kB / 1.283 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.9166, allocations: 343.3 kB / 1.284 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.9166, allocations: 26.72 kB / 1.284 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.9166, allocations: 33.22 kB / 1.284 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.9174, allocations: 0.5362 MB / 1.284 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.9174, allocations: 0.6562 kB / 1.284 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.9174, allocations: 12.81 kB / 1.284 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.9175, allocations: 33.23 kB / 1.284 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.918, allocations: 390.1 kB / 1.285 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.9207, allocations: 2.398 MB / 1.287 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.9213, allocations: 250.9 kB / 1.287 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.9214, allocations: 96.36 kB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.9214, allocations: 3.656 kB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.9215, allocations: 35.11 kB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.9215, allocations: 0.5625 kB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002353/0.9238, allocations: 1.13 MB / 1.288 GB, free: 13.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.9239, allocations: 57.33 kB / 1.288 GB, free: 13.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.9242, allocations: 303.2 kB / 1.289 GB, free: 13.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.9243, allocations: 36.33 kB / 1.289 GB, free: 13.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.9244, allocations: 238.6 kB / 1.289 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.9245, allocations: 85.19 kB / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.9246, allocations: 66.77 kB / 1.289 GB, free: 12.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9248, allocations: 338.2 kB / 1.289 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.925, allocations: 103.6 kB / 1.289 GB, free: 12.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.9252, allocations: 186.5 kB / 1.29 GB, free: 12.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.9257, allocations: 322 kB / 1.29 GB, free: 12.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9257, allocations: 1.125 kB / 1.29 GB, free: 12.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008075/0.9265, allocations: 441.3 kB / 1.29 GB, free: 12.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9265, allocations: 6.469 kB / 1.29 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.9265, allocations: 1.656 kB / 1.29 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.9269, allocations: 96.72 kB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.9272, allocations: 64.92 kB / 1.291 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.931, allocations: 4.4 MB / 1.295 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.9313, allocations: 8.562 kB / 1.295 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.9313, allocations: 10.28 kB / 1.295 GB, free: 7.668 MB / 1.014 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.0002467/0.9316, allocations: 184.3 kB / 1.295 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.9317, allocations: 35.94 kB / 1.295 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.9318, allocations: 37.48 kB / 1.295 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.9318, allocations: 3.094 kB / 1.295 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.9318, allocations: 1.438 kB / 1.295 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.9318, allocations: 1.219 kB / 1.295 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.9323, allocations: 403.1 kB / 1.296 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.9323, allocations: 0.6562 kB / 1.296 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.9326, allocations: 44.48 kB / 1.296 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/0.9329, allocations: 85.58 kB / 1.296 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.9329, allocations: 9.281 kB / 1.296 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.9366, allocations: 4.394 MB / 1.3 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9366, allocations: 0 / 1.3 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/0.9375, allocations: 0.5587 MB / 1.3 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.9377, allocations: 126.2 kB / 1.301 GB, free: 2.371 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.9377, allocations: 128 / 1.301 GB, free: 2.371 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.938, allocations: 16.73 kB / 1.301 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.938, allocations: 25.06 kB / 1.301 GB, free: 2.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.938, allocations: 2.141 kB / 1.301 GB, free: 2.355 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002392/0.9383, allocations: 212.9 kB / 1.301 GB, free: 2.234 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9383, allocations: 0 / 1.301 GB, free: 2.234 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000492/0.9388, allocations: 99.84 kB / 1.301 GB, free: 2.223 MB / 1.014 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.0001357/0.9389, allocations: 109.5 kB / 1.301 GB, free: 2.125 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008862/0.9398, allocations: 0.5918 MB / 1.302 GB, free: 1.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9398, allocations: 0 / 1.302 GB, free: 1.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.9403, allocations: 467.8 kB / 1.302 GB, free: 1.316 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.9408, allocations: 79.36 kB / 1.302 GB, free: 1.285 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.9421, allocations: 0.7688 MB / 1.303 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.9426, allocations: 0.8344 MB / 1.304 GB, free: 96 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.9427, allocations: 29.22 kB / 1.304 GB, free: 88 kB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/0.9427, allocations: 0 / 1.304 GB, free: 88 kB / 1.014 GB Notification: Performance of Templates: time 0.01451/0.9572, allocations: 8.706 MB / 1.312 GB, free: 15.42 MB / 1.029 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches