Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.005326/0.005326, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001384/0.001384, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.81 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2543, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04021/0.2946, allocations: 37.61 MB / 1.124 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.3164, allocations: 13.03 MB / 1.137 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.3201, allocations: 171.1 kB / 1.137 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.009814/0.33, allocations: 3.89 MB / 1.141 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.3367, allocations: 2.487 MB / 1.143 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007044/0.3438, allocations: 2.707 MB / 1.146 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01215/0.356, allocations: 9.579 MB / 1.155 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01488/0.3709, allocations: 10.48 MB / 1.166 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/0.3776, allocations: 3.996 MB / 1.169 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007524/0.3851, allocations: 4.381 MB / 1.174 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002425/0.3876, allocations: 0.7695 MB / 1.174 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.3923, allocations: 1.783 MB / 1.176 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004272/0.3966, allocations: 3.029 MB / 1.179 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006465/0.4031, allocations: 3.591 MB / 1.183 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.4175, allocations: 11.85 MB / 1.194 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4175, allocations: 0 / 1.194 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4175, allocations: 3.938 kB / 1.194 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003406/0.4179, allocations: 0 / 1.194 GB, free: 4.25 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01789/0.4358, allocations: 6.37 MB / 1.2 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4358, allocations: 8.031 kB / 1.2 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002188/0.438, allocations: 0.7441 MB / 1.201 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009667/0.4477, allocations: 1.305 MB / 1.202 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00815/0.4559, allocations: 3.787 MB / 1.206 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.4563, allocations: 386.5 kB / 1.207 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.4581, allocations: 0.4962 MB / 1.207 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.4769, allocations: 8.89 MB / 1.216 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.4772, allocations: 23.78 kB / 1.216 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.4786, allocations: 220 kB / 1.216 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002505/0.4811, allocations: 0.6342 MB / 1.217 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.4958, allocations: 7.014 MB / 1.223 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5598/1.056, allocations: 40.05 MB / 1.263 GB, free: 137.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004841/1.06, allocations: 2.889 MB / 1.265 GB, free: 137.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/1.065, allocations: 2.666 MB / 1.268 GB, free: 137.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/1.065, allocations: 27.19 kB / 1.268 GB, free: 137.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.065, allocations: 65.55 kB / 1.268 GB, free: 137.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=265): time 4.488e-06/1.065, allocations: 0 / 1.268 GB, free: 137.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=424): time 0.3011/1.366, allocations: 74.7 MB / 1.341 GB, free: 96.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.366, allocations: 94.73 kB / 1.341 GB, free: 96.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/1.369, allocations: 2.363 MB / 1.343 GB, free: 93.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000698/1.37, allocations: 97.64 kB / 1.343 GB, free: 93.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.371, allocations: 2.337 MB / 1.346 GB, free: 91.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.373, allocations: 1.438 MB / 1.347 GB, free: 90.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/1.375, allocations: 0.7215 MB / 1.348 GB, free: 89.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/1.375, allocations: 305.1 kB / 1.348 GB, free: 89.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.379, allocations: 2.999 MB / 1.351 GB, free: 86.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/1.383, allocations: 3.839 MB / 1.355 GB, free: 81.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/1.392, allocations: 7.385 MB / 1.362 GB, free: 74.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/1.392, allocations: 4 kB / 1.362 GB, free: 74.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02649/1.418, allocations: 12.57 MB / 1.374 GB, free: 61.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/1.418, allocations: 16.03 kB / 1.374 GB, free: 61.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/1.418, allocations: 24 kB / 1.374 GB, free: 61.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02193/1.44, allocations: 6.026 MB / 1.38 GB, free: 55.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/1.442, allocations: 495.2 kB / 1.381 GB, free: 54.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07727/1.52, allocations: 72.98 MB / 1.452 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/1.524, allocations: 223.9 kB / 1.452 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008336/1.525, allocations: 148 kB / 1.452 GB, free: 10.26 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00397/1.529, allocations: 2.007 MB / 1.454 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.53, allocations: 391.4 kB / 1.455 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0298/1.56, allocations: 12.22 MB / 1.467 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/1.56, allocations: 40 kB / 1.467 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001548/1.56, allocations: 52 kB / 1.467 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.658e-05/1.56, allocations: 23.92 kB / 1.467 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/1.604, allocations: 19.13 MB / 1.485 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/1.604, allocations: 12.19 kB / 1.485 GB, free: 8.055 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.606, allocations: 287.6 kB / 1.486 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0218/1.628, allocations: 5.577 MB / 1.491 GB, free: 2.133 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007794/1.628, allocations: 79.94 kB / 1.491 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08308/1.712, allocations: 70.61 MB / 1.56 GB, free: 8.133 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/1.712, allocations: 11.94 kB / 1.56 GB, free: 8.121 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03386/1.745, allocations: 15.62 MB / 1.575 GB, free: 8.277 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/1.748, allocations: 1.039 MB / 1.576 GB, free: 7.215 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.749, allocations: 83.98 kB / 1.577 GB, free: 7.133 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.753, allocations: 215.7 kB / 1.577 GB, free: 6.922 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001591/1.754, allocations: 410.2 kB / 1.577 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004719/1.755, allocations: 108 kB / 1.577 GB, free: 6.414 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002707/1.757, allocations: 1.556 MB / 1.579 GB, free: 4.859 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.757, allocations: 0 / 1.579 GB, free: 4.859 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.006354/1.764, allocations: 1.863 MB / 1.581 GB, free: 2.996 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0317/1.795, allocations: 16.28 MB / 1.596 GB, free: 2.473 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02294/1.818, allocations: 12.21 MB / 1.608 GB, free: 5.965 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.819, allocations: 4 kB / 1.608 GB, free: 5.961 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/1.834, allocations: 8.352 MB / 1.617 GB, free: 13.3 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007175/1.841, allocations: 1.193 MB / 1.618 GB, free: 12.14 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1134/1.955, allocations: 53.88 MB / 1.67 GB, free: 4.785 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007484/1.962, allocations: 4.082 MB / 1.674 GB, free: 0.668 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003059/1.966, allocations: 0.6786 MB / 1.675 GB, free: 15.98 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003306/1.969, allocations: 2.128 MB / 1.677 GB, free: 13.86 MB / 1.279 GB Notification: Performance of SimCode: time 1.232e-06/1.969, allocations: 0 / 1.677 GB, free: 13.86 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9144/2.883, allocations: 150.9 MB / 1.824 GB, free: 449.6 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/20.65, allocations: 16.67 kB / 1.824 GB, free: 449.6 MB / 1.357 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches