Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001725/0.001725, 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.001921/0.001921, allocations: 194.7 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.404/2.404, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5882/0.5895, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0369/0.6265, allocations: 32.59 MB / 0.9816 GB, free: 272 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.6464, allocations: 10.27 MB / 0.9916 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.6502, allocations: 147.2 kB / 0.9917 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009596/0.6598, allocations: 3.725 MB / 0.9954 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.6664, allocations: 1.858 MB / 0.9972 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006571/0.673, allocations: 2.13 MB / 0.9993 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00929/0.6823, allocations: 7.318 MB / 1.006 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.6957, allocations: 9.492 MB / 1.016 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005224/0.7009, allocations: 3.163 MB / 1.019 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004888/0.7059, allocations: 3.481 MB / 1.022 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.7075, allocations: 0.6445 MB / 1.023 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.7116, allocations: 1.767 MB / 1.025 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003273/0.7149, allocations: 2.546 MB / 1.027 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004813/0.7197, allocations: 2.894 MB / 1.03 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.7309, allocations: 10.05 MB / 1.04 GB, free: 5.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.7309, allocations: 4 kB / 1.04 GB, free: 5.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7309, allocations: 0 / 1.04 GB, free: 5.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003038/0.7313, allocations: 0 / 1.04 GB, free: 5.395 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01302/0.7443, allocations: 4.994 MB / 1.045 GB, free: 336 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7443, allocations: 12.03 kB / 1.045 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001348/0.7457, allocations: 0.6859 MB / 1.045 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/0.7512, allocations: 0.959 MB / 1.046 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005241/0.7565, allocations: 2.851 MB / 1.049 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.7567, allocations: 349.7 kB / 1.049 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007945/0.7575, allocations: 468.1 kB / 1.05 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.7702, allocations: 7.671 MB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.7703, allocations: 19.78 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.7708, allocations: 200 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/0.7711, allocations: 316.9 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008862/0.78, allocations: 5.71 MB / 1.063 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.8128, allocations: 35.09 MB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.8154, allocations: 2.162 MB / 1.1 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.817, allocations: 1.261 MB / 1.101 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.817, allocations: 13.31 kB / 1.101 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.8171, allocations: 47.86 kB / 1.101 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.036e-06/0.8171, allocations: 0 / 1.101 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01309/0.8302, allocations: 7.088 MB / 1.108 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.8302, allocations: 68.72 kB / 1.108 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.8321, allocations: 1.488 MB / 1.109 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.377e-05/0.8321, allocations: 49.7 kB / 1.109 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.8334, allocations: 2 MB / 1.111 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.8338, allocations: 481.1 kB / 1.112 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.8343, allocations: 355.1 kB / 1.112 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.8344, allocations: 301.1 kB / 1.112 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.8356, allocations: 0.9135 MB / 1.113 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.8373, allocations: 1.605 MB / 1.115 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.8405, allocations: 2.733 MB / 1.118 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.8405, allocations: 8 kB / 1.118 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005712/0.8462, allocations: 3.53 MB / 1.121 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.8462, allocations: 15.98 kB / 1.121 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.8463, allocations: 28.03 kB / 1.121 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/0.8488, allocations: 0.9037 MB / 1.122 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.85, allocations: 343.4 kB / 1.122 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.8704, allocations: 23.12 MB / 1.145 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.872, allocations: 107.9 kB / 1.145 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.8722, allocations: 84 kB / 1.145 GB, free: 2.816 MB / 0.9044 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00249/0.8747, allocations: 1.609 MB / 1.147 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.875, allocations: 209.5 kB / 1.147 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/0.88, allocations: 2.982 MB / 1.15 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.8801, allocations: 16 kB / 1.15 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.8801, allocations: 11.98 kB / 1.15 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.8801, allocations: 3.984 kB / 1.15 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.8908, allocations: 7.344 MB / 1.157 GB, free: 6.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.8908, allocations: 4 kB / 1.157 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.8917, allocations: 179.7 kB / 1.157 GB, free: 6.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/0.8941, allocations: 0.8303 MB / 1.158 GB, free: 5.297 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.8942, allocations: 28 kB / 1.158 GB, free: 5.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/0.9127, allocations: 21.96 MB / 1.179 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9127, allocations: 11.94 kB / 1.179 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/0.9177, allocations: 3.027 MB / 1.182 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/0.9184, allocations: 466.4 kB / 1.183 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.9187, allocations: 31.98 kB / 1.183 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/0.9196, allocations: 63.92 kB / 1.183 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/0.9199, allocations: 128.7 kB / 1.183 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.92, allocations: 36 kB / 1.183 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001256/0.9213, allocations: 0.9795 MB / 1.184 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9213, allocations: 0 / 1.184 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002494/0.9238, allocations: 0.7891 MB / 1.185 GB, free: 7.957 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005033/0.9288, allocations: 3.612 MB / 1.188 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006685/0.9355, allocations: 4.641 MB / 1.193 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.9355, allocations: 3.938 kB / 1.193 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003561/0.9391, allocations: 2.736 MB / 1.196 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/0.9421, allocations: 0.7333 MB / 1.196 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/0.975, allocations: 23.84 MB / 1.22 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003157/0.9782, allocations: 3.105 MB / 1.223 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001359/0.9796, allocations: 457.9 kB / 1.223 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.9812, allocations: 1.53 MB / 1.225 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.9812, allocations: 4 kB / 1.225 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.525/1.506, allocations: 60.27 MB / 1.283 GB, free: 272.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/11.53, allocations: 7.5 kB / 1.283 GB, free: 272.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches