Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002054/0.002053, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002357/0.002357, allocations: 194.4 kB / 16.25 MB, free: 6.637 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.565/2.565, allocations: 469.8 MB / 0.7421 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 71.22 kB / 0.9082 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2333, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04328/0.2766, allocations: 40.79 MB / 1.103 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.2982, allocations: 14.97 MB / 1.118 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.2999, allocations: 175 kB / 1.118 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008649/0.3086, allocations: 4.158 MB / 1.122 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.3132, allocations: 2.582 MB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.3186, allocations: 2.9 MB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.3296, allocations: 11.43 MB / 1.139 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01777/0.3474, allocations: 14.86 MB / 1.153 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.3533, allocations: 4.891 MB / 1.158 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006058/0.3594, allocations: 5.639 MB / 1.164 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.3605, allocations: 0.9492 MB / 1.165 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.3636, allocations: 2.044 MB / 1.167 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003192/0.3668, allocations: 3.707 MB / 1.17 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004049/0.3709, allocations: 4.291 MB / 1.174 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.3832, allocations: 14.29 MB / 1.188 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3832, allocations: 0 / 1.188 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3832, allocations: 0 / 1.188 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001436/0.3834, allocations: 0 / 1.188 GB, free: 14.34 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.0147/0.3981, allocations: 7.596 MB / 1.196 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3981, allocations: 8.031 kB / 1.196 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001236/0.3994, allocations: 0.8955 MB / 1.197 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008688/0.4081, allocations: 1.518 MB / 1.198 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/0.4147, allocations: 4.213 MB / 1.202 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.415, allocations: 456.5 kB / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009265/0.416, allocations: 0.5861 MB / 1.203 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.4317, allocations: 10.69 MB / 1.214 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.4318, allocations: 31.72 kB / 1.214 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000628/0.4324, allocations: 263.9 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/0.435, allocations: 0.7768 MB / 1.215 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.4477, allocations: 8.561 MB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4353/0.883, allocations: 46.85 MB / 1.269 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.8875, allocations: 4.302 MB / 1.273 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/0.8921, allocations: 3.696 MB / 1.277 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.8924, allocations: 43.94 kB / 1.277 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.8924, allocations: 74.08 kB / 1.277 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 4.388e-06/0.8924, allocations: 0 / 1.277 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.3635/1.256, allocations: 122.8 MB / 1.397 GB, free: 47.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.256, allocations: 115.9 kB / 1.397 GB, free: 47.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.258, allocations: 2.677 MB / 1.399 GB, free: 44.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/1.259, allocations: 121.7 kB / 1.4 GB, free: 44.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008852/1.26, allocations: 2.674 MB / 1.402 GB, free: 41.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009718/1.261, allocations: 1.952 MB / 1.404 GB, free: 39.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/1.262, allocations: 0.9209 MB / 1.405 GB, free: 39.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.728e-05/1.262, allocations: 305.1 kB / 1.405 GB, free: 38.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003974/1.266, allocations: 4.083 MB / 1.409 GB, free: 34.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/1.27, allocations: 5.015 MB / 1.414 GB, free: 29.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.281, allocations: 9.855 MB / 1.424 GB, free: 19.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/1.281, allocations: 4 kB / 1.424 GB, free: 19.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04521/1.326, allocations: 17 MB / 1.44 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.326, allocations: 17.88 kB / 1.44 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/1.326, allocations: 20 kB / 1.44 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03231/1.358, allocations: 9.151 MB / 1.449 GB, free: 8.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.36, allocations: 0.5226 MB / 1.45 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.104/1.464, allocations: 77.02 MB / 1.525 GB, free: 9.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.468, allocations: 275.8 kB / 1.525 GB, free: 9.355 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005435/1.469, allocations: 188 kB / 1.525 GB, free: 9.172 MB / 1.092 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.00385/1.472, allocations: 2.427 MB / 1.528 GB, free: 6.734 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009956/1.473, allocations: 478.4 kB / 1.528 GB, free: 6.262 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03956/1.513, allocations: 16.82 MB / 1.545 GB, free: 5.293 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/1.513, allocations: 56 kB / 1.545 GB, free: 5.238 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.832e-05/1.513, allocations: 71.94 kB / 1.545 GB, free: 5.168 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-05/1.513, allocations: 31.89 kB / 1.545 GB, free: 5.137 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04683/1.56, allocations: 25.66 MB / 1.57 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.56, allocations: 4 kB / 1.57 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.562, allocations: 323.5 kB / 1.57 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02672/1.588, allocations: 8.335 MB / 1.578 GB, free: 2.555 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/1.589, allocations: 108 kB / 1.578 GB, free: 2.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1005/1.689, allocations: 73.9 MB / 1.651 GB, free: 7.023 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.689, allocations: 12.56 kB / 1.651 GB, free: 7.012 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/1.729, allocations: 21.57 MB / 1.672 GB, free: 1.094 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.731, allocations: 1.369 MB / 1.673 GB, free: 15.71 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008492/1.732, allocations: 104 kB / 1.673 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.735, allocations: 287.6 kB / 1.673 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00153/1.737, allocations: 0.526 MB / 1.674 GB, free: 14.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003947/1.737, allocations: 144 kB / 1.674 GB, free: 14.65 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002412/1.74, allocations: 1.776 MB / 1.676 GB, free: 12.89 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.4e-07/1.74, allocations: 0 / 1.676 GB, free: 12.89 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005768/1.745, allocations: 2.465 MB / 1.678 GB, free: 10.42 MB / 1.248 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.03991/1.785, allocations: 22.27 MB / 1.7 GB, free: 3.773 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.03211/1.817, allocations: 18.67 MB / 1.718 GB, free: 0.9062 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.817, allocations: 11.94 kB / 1.718 GB, free: 0.8945 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01586/1.833, allocations: 9.345 MB / 1.727 GB, free: 7.395 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/1.838, allocations: 1.378 MB / 1.729 GB, free: 6.062 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4742/2.312, allocations: 82.75 MB / 1.81 GB, free: 406.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004594/2.317, allocations: 4.896 MB / 1.814 GB, free: 405.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002045/2.319, allocations: 0.7417 MB / 1.815 GB, free: 405.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/2.321, allocations: 2.608 MB / 1.818 GB, free: 402.9 MB / 1.295 GB Notification: Performance of SimCode: time 5.31e-07/2.321, allocations: 3.828 kB / 1.818 GB, free: 402.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.05/12.37, allocations: 197.6 MB / 2.011 GB, free: 219.5 MB / 1.295 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/12.37, allocations: 252.4 kB / 2.011 GB, free: 219.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.048/18.42, allocations: 0 / 2.011 GB, free: 219.3 MB / 1.295 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches