Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007626/0.007626, allocations: 96.92 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 191.6 kB / 16.67 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.41 kB / 0.9504 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2516, allocations: 140.4 MB / 1.087 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00744/0.2591, allocations: 5.532 MB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004581/0.2637, allocations: 2.65 MB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.2642, allocations: 23.81 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2661, allocations: 0.6768 MB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2673, allocations: 425.7 kB / 1.097 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2683, allocations: 419.2 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2695, allocations: 0.963 MB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.2703, allocations: 462.7 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.2708, allocations: 382.6 kB / 1.099 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.2714, allocations: 406.4 kB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.2715, allocations: 48 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006663/0.2722, allocations: 363.2 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.2725, allocations: 239.3 kB / 1.1 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.2729, allocations: 358.2 kB / 1.1 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.2741, allocations: 0.9806 MB / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2741, allocations: 0 / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2741, allocations: 0 / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.2742, allocations: 0 / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00176/0.2759, allocations: 0.9999 MB / 1.102 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.276, allocations: 12.03 kB / 1.102 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.2761, allocations: 102.7 kB / 1.102 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.2775, allocations: 196.3 kB / 1.102 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.2784, allocations: 0.53 MB / 1.103 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.2785, allocations: 33.38 kB / 1.103 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.2787, allocations: 60.53 kB / 1.103 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2798, allocations: 0.8297 MB / 1.104 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2799, allocations: 11.88 kB / 1.104 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/0.2799, allocations: 24 kB / 1.104 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.2801, allocations: 60.95 kB / 1.104 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.281, allocations: 0.5697 MB / 1.104 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.2853, allocations: 4.589 MB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.2857, allocations: 291.2 kB / 1.109 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.286, allocations: 229.3 kB / 1.109 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2861, allocations: 288 / 1.109 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2861, allocations: 46.83 kB / 1.109 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.2861, allocations: 0 / 1.109 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005571/0.2917, allocations: 2.643 MB / 1.112 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2917, allocations: 55.41 kB / 1.112 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.2922, allocations: 466 kB / 1.112 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.2923, allocations: 29.7 kB / 1.112 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.2925, allocations: 352.5 kB / 1.113 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2926, allocations: 158.7 kB / 1.113 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2928, allocations: 102.2 kB / 1.113 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2929, allocations: 362.8 kB / 1.113 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2933, allocations: 240.9 kB / 1.114 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.2937, allocations: 403.9 kB / 1.114 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.2945, allocations: 0.67 MB / 1.115 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2945, allocations: 7.938 kB / 1.115 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001662/0.2962, allocations: 0.9288 MB / 1.116 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2962, allocations: 9.562 kB / 1.116 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2963, allocations: 4 kB / 1.116 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.2971, allocations: 227 kB / 1.116 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.2976, allocations: 115.8 kB / 1.116 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004858/0.3025, allocations: 5.336 MB / 1.121 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.303, allocations: 36.03 kB / 1.121 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.303, allocations: 27.98 kB / 1.121 GB, free: 14.23 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.3034, allocations: 221.6 kB / 1.121 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3035, allocations: 63.56 kB / 1.121 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.305, allocations: 0.7773 MB / 1.122 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.305, allocations: 4 kB / 1.122 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3051, allocations: 0 / 1.122 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3051, allocations: 11.92 kB / 1.122 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.3076, allocations: 1.494 MB / 1.124 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3076, allocations: 0 / 1.124 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.308, allocations: 71.89 kB / 1.124 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006839/0.3087, allocations: 206.7 kB / 1.124 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.3088, allocations: 15.98 kB / 1.124 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.3136, allocations: 5.27 MB / 1.129 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3137, allocations: 3.938 kB / 1.129 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.3155, allocations: 1.135 MB / 1.13 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.3158, allocations: 176.6 kB / 1.13 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.3159, allocations: 12 kB / 1.13 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3163, allocations: 23.97 kB / 1.13 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.3164, allocations: 39.95 kB / 1.13 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.3164, allocations: 16 kB / 1.131 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000346/0.3168, allocations: 314.9 kB / 1.131 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 1.131 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006963/0.3175, allocations: 168 kB / 1.131 GB, free: 3.625 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.002046/0.3195, allocations: 1.7 MB / 1.133 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.3212, allocations: 1.013 MB / 1.134 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3213, allocations: 0 / 1.134 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3223, allocations: 0.6799 MB / 1.134 GB, free: 96 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3234, allocations: 194.1 kB / 1.134 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008006/0.3314, allocations: 5.662 MB / 1.14 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.3321, allocations: 0.9455 MB / 1.141 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.3325, allocations: 109 kB / 1.141 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.3328, allocations: 215.4 kB / 1.141 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of SimCode: time 1.943e-06/0.3328, allocations: 0 / 1.141 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.3743, allocations: 14.19 MB / 1.155 GB, free: 10.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.75, allocations: 10.75 kB / 1.155 GB, free: 10.74 MB / 0.92 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches