Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.571/2.571, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7802, allocations: 140.4 MB / 0.9496 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005083/0.7853, allocations: 4.355 MB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.7879, allocations: 1.856 MB / 0.9556 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.7881, allocations: 11.81 kB / 0.9557 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7896, allocations: 0.5936 MB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.79, allocations: 257.1 kB / 0.9565 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.7906, allocations: 253.1 kB / 0.9567 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.7911, allocations: 0.607 MB / 0.9573 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006057/0.7917, allocations: 485 kB / 0.9578 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.792, allocations: 246.7 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.7924, allocations: 262.1 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.7924, allocations: 36.06 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.7929, allocations: 261 kB / 0.9585 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.793, allocations: 148.7 kB / 0.9587 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.7932, allocations: 223.4 kB / 0.9589 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.7938, allocations: 0.6018 MB / 0.9595 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7938, allocations: 0 / 0.9595 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7938, allocations: 1.375 kB / 0.9595 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7938, allocations: 0 / 0.9595 GB, free: 1.711 MB / 0.7169 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.001076/0.7949, allocations: 0.7222 MB / 0.9602 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7949, allocations: 9.531 kB / 0.9602 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.7959, allocations: 146.1 kB / 0.9603 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.7963, allocations: 330 kB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.7963, allocations: 27.22 kB / 0.9607 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.7964, allocations: 41.17 kB / 0.9607 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.7971, allocations: 0.5286 MB / 0.9612 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7971, allocations: 1.344 kB / 0.9612 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.7971, allocations: 19.7 kB / 0.9613 GB, free: 328 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.7972, allocations: 32.14 kB / 0.9613 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.7978, allocations: 386.1 kB / 0.9617 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.8004, allocations: 2.41 MB / 0.964 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.801, allocations: 257.1 kB / 0.9643 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.8012, allocations: 110.6 kB / 0.9644 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.8012, allocations: 6.312 kB / 0.9644 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.8013, allocations: 39.95 kB / 0.9644 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.8013, allocations: 0 / 0.9644 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002378/0.8037, allocations: 1.127 MB / 0.9655 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.8037, allocations: 54.44 kB / 0.9656 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.8041, allocations: 300 kB / 0.9658 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.8041, allocations: 30.83 kB / 0.9659 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.8042, allocations: 233.1 kB / 0.9661 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.8043, allocations: 81.91 kB / 0.9662 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.8044, allocations: 61.41 kB / 0.9662 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8046, allocations: 350.6 kB / 0.9666 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.8047, allocations: 100.9 kB / 0.9667 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.805, allocations: 188 kB / 0.9668 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.8054, allocations: 322.3 kB / 0.9672 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8054, allocations: 1.062 kB / 0.9672 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008005/0.8062, allocations: 440.5 kB / 0.9676 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8063, allocations: 5.438 kB / 0.9676 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8063, allocations: 7.266 kB / 0.9676 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.8066, allocations: 103.1 kB / 0.9677 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.8069, allocations: 60.53 kB / 0.9677 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.8107, allocations: 4.393 MB / 0.972 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.8112, allocations: 16.56 kB / 0.972 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.8112, allocations: 13.88 kB / 0.9721 GB, free: 6.527 MB / 0.7325 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.00033/0.8115, allocations: 174.4 kB / 0.9722 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.8116, allocations: 32.28 kB / 0.9723 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.8117, allocations: 46.25 kB / 0.9723 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8117, allocations: 2.312 kB / 0.9723 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.8117, allocations: 1.344 kB / 0.9723 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.8118, allocations: 7.922 kB / 0.9723 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.8124, allocations: 394.2 kB / 0.9727 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8124, allocations: 0 / 0.9727 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.8126, allocations: 38.11 kB / 0.9727 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.813, allocations: 94.78 kB / 0.9728 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.813, allocations: 5.938 kB / 0.9728 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/0.8163, allocations: 4.394 MB / 0.9771 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8163, allocations: 0 / 0.9771 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.8173, allocations: 0.5569 MB / 0.9777 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.8175, allocations: 125.7 kB / 0.9778 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.8176, allocations: 5.406 kB / 0.9778 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.8178, allocations: 13.77 kB / 0.9778 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.8179, allocations: 20.62 kB / 0.9778 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.8179, allocations: 4.438 kB / 0.9778 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002308/0.8181, allocations: 205.7 kB / 0.978 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8181, allocations: 0 / 0.978 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005532/0.8187, allocations: 103.7 kB / 0.9781 GB, free: 0.75 MB / 0.7325 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.0001472/0.8189, allocations: 114.7 kB / 0.9782 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009543/0.8198, allocations: 0.6208 MB / 0.9788 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8198, allocations: 0 / 0.9788 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.8204, allocations: 474.4 kB / 0.9793 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.8209, allocations: 79.53 kB / 0.9794 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.8222, allocations: 0.7162 MB / 0.9801 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.8227, allocations: 0.8313 MB / 0.9809 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.8229, allocations: 62.92 kB / 0.9809 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.823, allocations: 22.31 kB / 0.9809 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.823, allocations: 1.219 kB / 0.981 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of Templates: time 0.008698/0.8317, allocations: 4.441 MB / 0.9853 GB, free: 11.6 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches