Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001667/0.001667, 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.001733/0.001733, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 67 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.277, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03983/0.3168, allocations: 33.34 MB / 1.096 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02317/0.34, allocations: 14.82 MB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.3434, allocations: 155.2 kB / 1.111 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009478/0.3529, allocations: 3.659 MB / 1.114 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008377/0.3613, allocations: 2.882 MB / 1.117 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006297/0.3676, allocations: 2.326 MB / 1.12 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.3785, allocations: 8.812 MB / 1.128 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.3928, allocations: 9.64 MB / 1.138 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006722/0.3996, allocations: 3.946 MB / 1.141 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006514/0.4061, allocations: 4.03 MB / 1.145 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002265/0.4084, allocations: 0.7148 MB / 1.146 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/0.4129, allocations: 1.728 MB / 1.148 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.4168, allocations: 2.818 MB / 1.15 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00664/0.4234, allocations: 3.396 MB / 1.154 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.438, allocations: 11.12 MB / 1.165 GB, free: 6.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4381, allocations: 0 / 1.165 GB, free: 6.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4381, allocations: 0 / 1.165 GB, free: 6.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004075/0.4385, allocations: 0 / 1.165 GB, free: 6.695 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01595/0.4545, allocations: 5.968 MB / 1.17 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4545, allocations: 12.03 kB / 1.17 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001998/0.4565, allocations: 0.731 MB / 1.171 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/0.464, allocations: 1.138 MB / 1.172 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.471, allocations: 3.328 MB / 1.176 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.4714, allocations: 370.4 kB / 1.176 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.4728, allocations: 0.492 MB / 1.176 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.4892, allocations: 8.005 MB / 1.184 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/0.4894, allocations: 23.77 kB / 1.184 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.4904, allocations: 216 kB / 1.184 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001209/0.4917, allocations: 437.6 kB / 1.185 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.505, allocations: 6.081 MB / 1.191 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04636/0.5514, allocations: 35.16 MB / 1.225 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.5543, allocations: 2.026 MB / 1.227 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.557, allocations: 1.865 MB / 1.229 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.5571, allocations: 22 kB / 1.229 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.5572, allocations: 60.48 kB / 1.229 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.917e-06/0.5572, allocations: 4 kB / 1.229 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.6188/1.176, allocations: 38.87 MB / 1.267 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.176, allocations: 79.36 kB / 1.267 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/1.179, allocations: 2.279 MB / 1.269 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004358/1.18, allocations: 69.77 kB / 1.269 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.181, allocations: 2.28 MB / 1.272 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007508/1.182, allocations: 0.9293 MB / 1.272 GB, free: 164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008985/1.183, allocations: 0.5086 MB / 1.273 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/1.183, allocations: 310.2 kB / 1.273 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/1.186, allocations: 1.973 MB / 1.275 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/1.189, allocations: 2.598 MB / 1.278 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006318/1.195, allocations: 4.937 MB / 1.283 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/1.195, allocations: 7.25 kB / 1.283 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01371/1.209, allocations: 7.75 MB / 1.29 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/1.209, allocations: 15.88 kB / 1.29 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.209, allocations: 19.84 kB / 1.29 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008223/1.217, allocations: 3.245 MB / 1.293 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.219, allocations: 402.6 kB / 1.294 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03501/1.254, allocations: 33.89 MB / 1.327 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.257, allocations: 163.8 kB / 1.327 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/1.257, allocations: 108 kB / 1.327 GB, free: 122.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002746/1.26, allocations: 1.797 MB / 1.329 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/1.261, allocations: 332.1 kB / 1.329 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.272, allocations: 7.353 MB / 1.336 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.272, allocations: 28 kB / 1.336 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/1.272, allocations: 29.31 kB / 1.336 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/1.272, allocations: 12.7 kB / 1.336 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.291, allocations: 12.93 MB / 1.349 GB, free: 99.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.291, allocations: 11.98 kB / 1.349 GB, free: 99.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/1.292, allocations: 228.5 kB / 1.349 GB, free: 99.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007393/1.299, allocations: 2.875 MB / 1.352 GB, free: 96.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/1.3, allocations: 52.69 kB / 1.352 GB, free: 96.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03338/1.333, allocations: 32.69 MB / 1.384 GB, free: 63.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.333, allocations: 8.859 kB / 1.384 GB, free: 63.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.344, allocations: 6.893 MB / 1.391 GB, free: 56.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.346, allocations: 0.7744 MB / 1.392 GB, free: 55.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005168/1.346, allocations: 59.98 kB / 1.392 GB, free: 55.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.348, allocations: 171.7 kB / 1.392 GB, free: 55.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007325/1.349, allocations: 249.5 kB / 1.392 GB, free: 54.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/1.349, allocations: 72 kB / 1.392 GB, free: 54.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001647/1.35, allocations: 1.533 MB / 1.394 GB, free: 53.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.35, allocations: 0 / 1.394 GB, free: 53.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003525/1.354, allocations: 1.371 MB / 1.395 GB, free: 51.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01017/1.364, allocations: 7.504 MB / 1.402 GB, free: 44.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.376, allocations: 8.379 MB / 1.41 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.376, allocations: 0.875 kB / 1.41 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006306/1.383, allocations: 4.423 MB / 1.415 GB, free: 31.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.387, allocations: 1.118 MB / 1.416 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05866/1.446, allocations: 43.84 MB / 1.459 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/1.45, allocations: 3.639 MB / 1.462 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002118/1.452, allocations: 0.5554 MB / 1.463 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/1.454, allocations: 1.979 MB / 1.465 GB, free: 9.43 MB / 1.029 GB Notification: Performance of SimCode: time 9.31e-07/1.454, allocations: 3.938 kB / 1.465 GB, free: 9.426 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1798/1.634, allocations: 112.6 MB / 1.575 GB, free: 9.996 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/13.39, allocations: 13.06 kB / 1.575 GB, free: 9.988 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches