Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_L,fileNamePrefix="Buildings_latest_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_latest_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.0007722/0.0007722, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.005324/0.005324, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.257/1.257, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.437/2.437, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 10.75 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02992/0.2687, allocations: 31.55 MB / 1.09 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.2832, allocations: 10.17 MB / 1.1 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.2856, allocations: 127.2 kB / 1.1 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.2876, allocations: 0.6279 MB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.2921, allocations: 1.739 MB / 1.102 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.2962, allocations: 1.759 MB / 1.104 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009584/0.3058, allocations: 10.58 MB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01692/0.3227, allocations: 12.07 MB / 1.126 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003833/0.3266, allocations: 2.24 MB / 1.128 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004318/0.3309, allocations: 2.962 MB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009304/0.3319, allocations: 271.9 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.3353, allocations: 1.7 MB / 1.133 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.3378, allocations: 2.054 MB / 1.135 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.341, allocations: 2.342 MB / 1.137 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00804/0.349, allocations: 9.653 MB / 1.147 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3491, allocations: 0 / 1.147 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3491, allocations: 7.938 kB / 1.147 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001591/0.3492, allocations: 0 / 1.147 GB, free: 10.69 MB / 0.9044 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.00644/0.3557, allocations: 4.015 MB / 1.15 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3557, allocations: 11.97 kB / 1.15 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007985/0.3565, allocations: 0.682 MB / 1.151 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.3611, allocations: 0.959 MB / 1.152 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/0.3666, allocations: 2.859 MB / 1.155 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3668, allocations: 349.7 kB / 1.155 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007015/0.3676, allocations: 460.2 kB / 1.156 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.379, allocations: 7.667 MB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.3791, allocations: 23.72 kB / 1.163 GB, free: 9.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/0.3796, allocations: 204 kB / 1.163 GB, free: 8.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.3799, allocations: 316.9 kB / 1.164 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008211/0.3881, allocations: 5.71 MB / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.4162, allocations: 35.14 MB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.4186, allocations: 2.148 MB / 1.206 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.42, allocations: 1.268 MB / 1.207 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.4201, allocations: 13.31 kB / 1.207 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4201, allocations: 47.81 kB / 1.207 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 2.876e-06/0.4201, allocations: 4 kB / 1.207 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.0141/0.4342, allocations: 7.123 MB / 1.214 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4343, allocations: 64.72 kB / 1.214 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.437, allocations: 1.492 MB / 1.215 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.4372, allocations: 45.7 kB / 1.215 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.4383, allocations: 2.008 MB / 1.217 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.4386, allocations: 493 kB / 1.218 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.4388, allocations: 149.6 kB / 1.218 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.4389, allocations: 301.1 kB / 1.218 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.4401, allocations: 0.9174 MB / 1.219 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.4416, allocations: 1.589 MB / 1.221 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.4445, allocations: 2.741 MB / 1.223 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4445, allocations: 4 kB / 1.223 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005637/0.4502, allocations: 3.526 MB / 1.227 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4502, allocations: 12.97 kB / 1.227 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.4502, allocations: 27.94 kB / 1.227 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.4527, allocations: 0.896 MB / 1.228 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.4538, allocations: 351.4 kB / 1.228 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/0.4717, allocations: 21.24 MB / 1.249 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.4732, allocations: 99.95 kB / 1.249 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.4734, allocations: 84 kB / 1.249 GB, free: 11.16 MB / 1.014 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.002408/0.4758, allocations: 1.615 MB / 1.251 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.4762, allocations: 209.6 kB / 1.251 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/0.4813, allocations: 2.99 MB / 1.254 GB, free: 6.289 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4814, allocations: 19.98 kB / 1.254 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.4814, allocations: 8 kB / 1.254 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4814, allocations: 3.984 kB / 1.254 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.423/0.9044, allocations: 7.326 MB / 1.261 GB, free: 182.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.9044, allocations: 5.125 kB / 1.261 GB, free: 182.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.9052, allocations: 180.4 kB / 1.261 GB, free: 182.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/0.9074, allocations: 0.8247 MB / 1.262 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.9075, allocations: 27.97 kB / 1.262 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/0.9202, allocations: 20.32 MB / 1.282 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9203, allocations: 10.45 kB / 1.282 GB, free: 167.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.9244, allocations: 3.023 MB / 1.285 GB, free: 166.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.9251, allocations: 468.3 kB / 1.285 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.9252, allocations: 28.83 kB / 1.285 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/0.926, allocations: 73.39 kB / 1.285 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.9263, allocations: 126.6 kB / 1.285 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.9264, allocations: 42.91 kB / 1.285 GB, free: 166.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001175/0.9275, allocations: 0.9764 MB / 1.286 GB, free: 166.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9276, allocations: 3.281 kB / 1.286 GB, free: 166.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002432/0.93, allocations: 0.785 MB / 1.287 GB, free: 166.4 MB / 1.014 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.00473/0.9347, allocations: 3.613 MB / 1.291 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005343/0.9401, allocations: 4.025 MB / 1.295 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9401, allocations: 4.312 kB / 1.295 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002994/0.9431, allocations: 2.743 MB / 1.297 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/0.9467, allocations: 0.6698 MB / 1.298 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/0.9767, allocations: 25.76 MB / 1.323 GB, free: 147.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/0.9791, allocations: 3.116 MB / 1.326 GB, free: 146 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001224/0.9803, allocations: 452.2 kB / 1.327 GB, free: 145.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.9815, allocations: 1.539 MB / 1.328 GB, free: 144.6 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.9815, allocations: 0.8125 kB / 1.328 GB, free: 144.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.38/4.361, allocations: 58.19 MB / 1.385 GB, free: 93.83 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/4.361, allocations: 251 kB / 1.385 GB, free: 93.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/7.68, allocations: 4 kB / 1.385 GB, free: 93.57 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches