Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.005123/0.005123, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001154/0.001154, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.198/2.198, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7932, allocations: 140.4 MB / 1.087 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05228/0.8455, allocations: 41.19 MB / 1.128 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.8766, allocations: 15.08 MB / 1.142 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007109/0.8838, allocations: 192.4 kB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0134/0.8972, allocations: 4.45 MB / 1.147 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01/0.9072, allocations: 2.793 MB / 1.15 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.9176, allocations: 3.155 MB / 1.153 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01988/0.9375, allocations: 11.41 MB / 1.164 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.024/0.9615, allocations: 12.47 MB / 1.176 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.9723, allocations: 4.816 MB / 1.181 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.9835, allocations: 5.391 MB / 1.186 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004041/0.9876, allocations: 0.9495 MB / 1.187 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008108/0.9957, allocations: 2.043 MB / 1.189 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007727/1.003, allocations: 3.688 MB / 1.193 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01161/1.015, allocations: 4.299 MB / 1.197 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02123/1.036, allocations: 14.28 MB / 1.211 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.036, allocations: 0 / 1.211 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/1.036, allocations: 0 / 1.211 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000435/1.037, allocations: 0 / 1.211 GB, free: 15.59 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02294/1.06, allocations: 7.604 MB / 1.218 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.06, allocations: 12.03 kB / 1.218 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003312/1.063, allocations: 0.8916 MB / 1.219 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/1.075, allocations: 1.518 MB / 1.221 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/1.086, allocations: 4.439 MB / 1.225 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/1.087, allocations: 456.5 kB / 1.225 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/1.089, allocations: 0.5939 MB / 1.226 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/1.115, allocations: 10.69 MB / 1.236 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/1.115, allocations: 31.77 kB / 1.236 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/1.117, allocations: 263.9 kB / 1.237 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/1.12, allocations: 0.7768 MB / 1.237 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/1.139, allocations: 8.561 MB / 1.246 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0652/1.205, allocations: 46.53 MB / 1.291 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008183/1.213, allocations: 4.299 MB / 1.295 GB, free: 4.586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00943/1.222, allocations: 3.72 MB / 1.299 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/1.223, allocations: 34.78 kB / 1.299 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/1.223, allocations: 73.34 kB / 1.299 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of pre-optimization done (n=353): time 1.357e-05/1.223, allocations: 0 / 1.299 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of matching and sorting (n=578): time 0.5683/1.791, allocations: 122.8 MB / 1.419 GB, free: 5.086 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.791, allocations: 111.9 kB / 1.419 GB, free: 4.961 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/1.796, allocations: 2.689 MB / 1.422 GB, free: 2.273 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.798, allocations: 121.7 kB / 1.422 GB, free: 2.148 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002005/1.8, allocations: 2.671 MB / 1.424 GB, free: 15.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002815/1.802, allocations: 1.96 MB / 1.426 GB, free: 13.46 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003307/1.806, allocations: 0.917 MB / 1.427 GB, free: 12.53 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.806, allocations: 309.1 kB / 1.428 GB, free: 12.23 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007153/1.813, allocations: 4.075 MB / 1.432 GB, free: 8.145 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007605/1.821, allocations: 5.015 MB / 1.436 GB, free: 2.809 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/1.836, allocations: 9.852 MB / 1.446 GB, free: 8.574 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-05/1.836, allocations: 8 kB / 1.446 GB, free: 8.566 MB / 1.186 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04185/1.878, allocations: 17 MB / 1.463 GB, free: 7.438 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/1.878, allocations: 12.22 kB / 1.463 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/1.878, allocations: 31.98 kB / 1.463 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0326/1.911, allocations: 9.08 MB / 1.472 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.913, allocations: 0.5304 MB / 1.472 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1153/2.029, allocations: 76.95 MB / 1.547 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/2.034, allocations: 279.8 kB / 1.548 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/2.035, allocations: 192 kB / 1.548 GB, free: 14.74 MB / 1.295 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005274/2.041, allocations: 2.426 MB / 1.55 GB, free: 12.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/2.042, allocations: 470.5 kB / 1.551 GB, free: 11.84 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04162/2.084, allocations: 16.81 MB / 1.567 GB, free: 10.88 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/2.084, allocations: 56 kB / 1.567 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002453/2.084, allocations: 72 kB / 1.567 GB, free: 10.75 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001258/2.084, allocations: 31.83 kB / 1.567 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6319/2.716, allocations: 25.65 MB / 1.592 GB, free: 414.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.038e-05/2.716, allocations: 7.062 kB / 1.592 GB, free: 414.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/2.718, allocations: 318.8 kB / 1.592 GB, free: 414.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03054/2.749, allocations: 8.279 MB / 1.601 GB, free: 413.6 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.75, allocations: 109.1 kB / 1.601 GB, free: 413.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09253/2.842, allocations: 73.83 MB / 1.673 GB, free: 371.9 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/2.842, allocations: 11.56 kB / 1.673 GB, free: 371.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03791/2.88, allocations: 21.57 MB / 1.694 GB, free: 362.8 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00391/2.884, allocations: 1.358 MB / 1.695 GB, free: 362 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/2.886, allocations: 112.9 kB / 1.695 GB, free: 361.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/2.889, allocations: 284.9 kB / 1.696 GB, free: 361.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002159/2.891, allocations: 0.5256 MB / 1.696 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003964/2.892, allocations: 143.7 kB / 1.696 GB, free: 361.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00218/2.894, allocations: 1.777 MB / 1.698 GB, free: 360.3 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.4e-07/2.894, allocations: 4 kB / 1.698 GB, free: 360.3 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006813/2.901, allocations: 2.461 MB / 1.7 GB, free: 357.8 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03678/2.937, allocations: 22.27 MB / 1.722 GB, free: 335.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0222/2.96, allocations: 14.53 MB / 1.736 GB, free: 321.2 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/2.96, allocations: 7.938 kB / 1.736 GB, free: 321.2 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01646/2.976, allocations: 9.367 MB / 1.745 GB, free: 311.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006435/2.983, allocations: 1.365 MB / 1.747 GB, free: 310.3 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/3.102, allocations: 70.17 MB / 1.815 GB, free: 238.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/3.107, allocations: 4.893 MB / 1.82 GB, free: 233.7 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002269/3.109, allocations: 0.741 MB / 1.821 GB, free: 232.9 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002679/3.112, allocations: 2.612 MB / 1.823 GB, free: 230.3 MB / 1.311 GB Notification: Performance of SimCode: time 1.683e-06/3.112, allocations: 0 / 1.823 GB, free: 230.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3711/3.483, allocations: 196.4 MB / 2.015 GB, free: 35.44 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.19/23.67, allocations: 15.84 kB / 2.015 GB, free: 35.43 MB / 1.311 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_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_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches