Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_L,fileNamePrefix="Buildings_11_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_11_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.001442/0.001446, 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.001394/0.001394, allocations: 193.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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.644/2.644, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 72.48 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.245, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0358/0.2808, allocations: 32.6 MB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.2962, allocations: 10.27 MB / 1.106 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.2977, allocations: 147.3 kB / 1.106 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007896/0.3057, allocations: 3.704 MB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.3097, allocations: 1.858 MB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.3142, allocations: 2.141 MB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007501/0.3217, allocations: 7.326 MB / 1.121 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009999/0.3317, allocations: 9.479 MB / 1.13 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.3358, allocations: 3.167 MB / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.3398, allocations: 3.473 MB / 1.137 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008759/0.3407, allocations: 0.6484 MB / 1.137 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.3437, allocations: 1.767 MB / 1.139 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.346, allocations: 2.55 MB / 1.141 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.3489, allocations: 2.898 MB / 1.144 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008993/0.3579, allocations: 10.04 MB / 1.154 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3579, allocations: 0 / 1.154 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3579, allocations: 0 / 1.154 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001453/0.3581, allocations: 4 kB / 1.154 GB, free: 1.805 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.008179/0.3663, allocations: 4.998 MB / 1.159 GB, free: 12.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3663, allocations: 8.031 kB / 1.159 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008275/0.3672, allocations: 0.6859 MB / 1.16 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.3718, allocations: 0.9551 MB / 1.161 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.3761, allocations: 2.855 MB / 1.163 GB, free: 8.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.3763, allocations: 353.6 kB / 1.164 GB, free: 7.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/0.377, allocations: 464.2 kB / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3876, allocations: 7.667 MB / 1.172 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.3877, allocations: 19.78 kB / 1.172 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000431/0.3881, allocations: 204 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003131/0.3885, allocations: 320.9 kB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/0.3968, allocations: 5.702 MB / 1.178 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.4283, allocations: 35.1 MB / 1.212 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.4309, allocations: 2.149 MB / 1.214 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.4324, allocations: 1.264 MB / 1.215 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.4325, allocations: 13.31 kB / 1.215 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4326, allocations: 51.86 kB / 1.215 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.336e-06/0.4326, allocations: 4 kB / 1.215 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01267/0.4452, allocations: 7.085 MB / 1.222 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4453, allocations: 64.72 kB / 1.222 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.447, allocations: 1.488 MB / 1.224 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.4471, allocations: 53.7 kB / 1.224 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.4484, allocations: 2 MB / 1.226 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.4488, allocations: 485 kB / 1.226 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.4493, allocations: 355.1 kB / 1.227 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4494, allocations: 301.1 kB / 1.227 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.4507, allocations: 0.9174 MB / 1.228 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.4524, allocations: 1.585 MB / 1.229 GB, free: 160 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.4556, allocations: 2.741 MB / 1.232 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4556, allocations: 8 kB / 1.232 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005563/0.4612, allocations: 3.538 MB / 1.235 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4612, allocations: 21.48 kB / 1.235 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4613, allocations: 24 kB / 1.235 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.4637, allocations: 0.8922 MB / 1.236 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4647, allocations: 347.4 kB / 1.237 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4318/0.8965, allocations: 23.11 MB / 1.259 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8979, allocations: 103.8 kB / 1.259 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.898, allocations: 83.66 kB / 1.259 GB, free: 154.8 MB / 0.9981 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.001686/0.8997, allocations: 1.612 MB / 1.261 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.8999, allocations: 205.5 kB / 1.261 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.9041, allocations: 2.995 MB / 1.264 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9041, allocations: 15.44 kB / 1.264 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.9041, allocations: 9.875 kB / 1.264 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.9041, allocations: 9.078 kB / 1.264 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009139/0.9133, allocations: 7.341 MB / 1.271 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.9133, allocations: 3.438 kB / 1.271 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.914, allocations: 178.5 kB / 1.272 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.9161, allocations: 0.8264 MB / 1.272 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.9162, allocations: 25.5 kB / 1.272 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.9304, allocations: 21.96 MB / 1.294 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9304, allocations: 8.281 kB / 1.294 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/0.9347, allocations: 3.017 MB / 1.297 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/0.9354, allocations: 462.8 kB / 1.297 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.9356, allocations: 40.62 kB / 1.297 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.9363, allocations: 70.44 kB / 1.297 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.9366, allocations: 126.1 kB / 1.297 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.9367, allocations: 40.81 kB / 1.297 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001043/0.9377, allocations: 0.9748 MB / 1.298 GB, free: 130 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9377, allocations: 0 / 1.298 GB, free: 130 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002214/0.94, allocations: 0.788 MB / 1.299 GB, free: 129.9 MB / 0.9981 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.003987/0.944, allocations: 3.607 MB / 1.303 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005389/0.9494, allocations: 4.65 MB / 1.307 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9494, allocations: 0 / 1.307 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.9521, allocations: 2.739 MB / 1.31 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.9547, allocations: 0.7256 MB / 1.311 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/0.9775, allocations: 23.84 MB / 1.334 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/0.9795, allocations: 3.119 MB / 1.337 GB, free: 105.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001035/0.9806, allocations: 451.9 kB / 1.337 GB, free: 104.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.9817, allocations: 1.538 MB / 1.339 GB, free: 103.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.9817, allocations: 4 kB / 1.339 GB, free: 103.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.54/12.52, allocations: 60.27 MB / 1.398 GB, free: 43.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/23.2, allocations: 4.125 kB / 1.398 GB, free: 43.51 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches