Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0008594/0.0008595, allocations: 91.84 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.005148/0.005148, allocations: 169.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.25/1.25, 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 10.1.0-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5208, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01282/0.5337, allocations: 14.13 MB / 1.037 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.5454, allocations: 10.23 MB / 1.047 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.546, allocations: 51.62 kB / 1.047 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.5466, allocations: 300 kB / 1.047 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.5496, allocations: 1.605 MB / 1.049 GB, free: 5.438 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.5508, allocations: 0.6958 MB / 1.05 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.5535, allocations: 3.394 MB / 1.053 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.5561, allocations: 1.992 MB / 1.055 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.5573, allocations: 1.324 MB / 1.056 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.5584, allocations: 1.089 MB / 1.057 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.5585, allocations: 72 kB / 1.057 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.5596, allocations: 0.85 MB / 1.058 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.56, allocations: 0.4982 MB / 1.059 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.5606, allocations: 0.8602 MB / 1.059 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.5625, allocations: 2.67 MB / 1.062 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5626, allocations: 0 / 1.062 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5626, allocations: 0 / 1.062 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5626, allocations: 0 / 1.062 GB, free: 7.898 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002636/0.5652, allocations: 1.837 MB / 1.064 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5653, allocations: 8.031 kB / 1.064 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.5655, allocations: 202.3 kB / 1.064 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5764, allocations: 2.175 MB / 1.066 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.5781, allocations: 1.206 MB / 1.067 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.5782, allocations: 90.67 kB / 1.067 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.5784, allocations: 115.9 kB / 1.067 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.5834, allocations: 2.698 MB / 1.07 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.5835, allocations: 11.84 kB / 1.07 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.5836, allocations: 55.98 kB / 1.07 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005954/0.5842, allocations: 194.1 kB / 1.07 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006987/0.5912, allocations: 2.842 MB / 1.073 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.6031, allocations: 10.57 MB / 1.083 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.6093, allocations: 2.387 MB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.6123, allocations: 1.296 MB / 1.087 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.6123, allocations: 13 kB / 1.087 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6124, allocations: 43.56 kB / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 1.763e-06/0.6124, allocations: 0 / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.05432/0.6667, allocations: 16.52 MB / 1.103 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6668, allocations: 72.72 kB / 1.103 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.668, allocations: 1.172 MB / 1.104 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.6681, allocations: 53.7 kB / 1.104 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.6686, allocations: 0.7437 MB / 1.105 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.669, allocations: 0.5197 MB / 1.106 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.6692, allocations: 117.7 kB / 1.106 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.6692, allocations: 305.1 kB / 1.106 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/0.6726, allocations: 1.534 MB / 1.108 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/0.676, allocations: 1.803 MB / 1.109 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006815/0.6829, allocations: 3.416 MB / 1.113 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6829, allocations: 4 kB / 1.113 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01223/0.6951, allocations: 5.308 MB / 1.118 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6951, allocations: 11.94 kB / 1.118 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6952, allocations: 12 kB / 1.118 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006136/0.7013, allocations: 1.876 MB / 1.12 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.7031, allocations: 431.2 kB / 1.12 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/0.7269, allocations: 22.19 MB / 1.142 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.7291, allocations: 323.5 kB / 1.142 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.7292, allocations: 63.97 kB / 1.142 GB, free: 3.281 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006459/0.7299, allocations: 470.3 kB / 1.143 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.7301, allocations: 177.8 kB / 1.143 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.7428, allocations: 5.363 MB / 1.148 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7428, allocations: 16 kB / 1.148 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/0.7428, allocations: 20 kB / 1.148 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7428, allocations: 7.969 kB / 1.148 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.7574, allocations: 7.481 MB / 1.155 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7575, allocations: 0 / 1.155 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.7591, allocations: 367.7 kB / 1.156 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005443/0.7645, allocations: 1.709 MB / 1.157 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.7647, allocations: 44.06 kB / 1.157 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.787, allocations: 21.37 MB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.787, allocations: 7.938 kB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.798, allocations: 4.936 MB / 1.183 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006357/0.7986, allocations: 494.8 kB / 1.184 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.7988, allocations: 32 kB / 1.184 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/0.8008, allocations: 331.5 kB / 1.184 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.8012, allocations: 145 kB / 1.184 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8013, allocations: 55.97 kB / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008463/0.8021, allocations: 0.7938 MB / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8021, allocations: 0 / 1.185 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00138/0.8035, allocations: 0.6562 MB / 1.186 GB, free: 5.477 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/0.8149, allocations: 5.525 MB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00975/0.8247, allocations: 5.155 MB / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8247, allocations: 0 / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006014/0.8307, allocations: 3.386 MB / 1.199 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.8331, allocations: 0.5262 MB / 1.2 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.873, allocations: 23.75 MB / 1.223 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.874, allocations: 1.564 MB / 1.225 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001224/0.8752, allocations: 386.4 kB / 1.225 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/0.8759, allocations: 0.6554 MB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.876, allocations: 0 / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.128/6.004, allocations: 55.55 MB / 1.28 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/6.004, allocations: 242.1 kB / 1.28 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.371/9.375, allocations: 0 / 1.28 GB, free: 204.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches