Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_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.001203/0.001203, allocations: 108 kB / 15.61 MB, free: 152 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.001187/0.001187, allocations: 192.8 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.406 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.532/2.532, allocations: 469.8 MB / 0.7424 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 66.98 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2377, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01669/0.2544, allocations: 14.78 MB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.2679, allocations: 10.36 MB / 1.089 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.2684, allocations: 59.62 kB / 1.089 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.2721, allocations: 1.696 MB / 1.09 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.2753, allocations: 1.816 MB / 1.092 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.2767, allocations: 0.7546 MB / 1.093 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.2794, allocations: 2.735 MB / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.281, allocations: 1.427 MB / 1.097 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.2826, allocations: 1.492 MB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.2839, allocations: 1.167 MB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.2841, allocations: 160 kB / 1.1 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2853, allocations: 0.7877 MB / 1.1 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.2858, allocations: 0.6037 MB / 1.101 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.2867, allocations: 0.9523 MB / 1.102 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.2891, allocations: 2.73 MB / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2891, allocations: 0 / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2891, allocations: 0 / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.2892, allocations: 0 / 1.105 GB, free: 4.562 MB / 0.8575 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.003337/0.2925, allocations: 2.174 MB / 1.107 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2925, allocations: 12.03 kB / 1.107 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002274/0.2928, allocations: 194.4 kB / 1.107 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.3036, allocations: 2.108 MB / 1.109 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.3056, allocations: 1.217 MB / 1.11 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.3057, allocations: 90.62 kB / 1.11 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.3059, allocations: 119.9 kB / 1.11 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/0.3111, allocations: 2.67 MB / 1.113 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.3111, allocations: 15.84 kB / 1.113 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.3113, allocations: 55.97 kB / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006242/0.3119, allocations: 194.1 kB / 1.113 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/0.3191, allocations: 2.791 MB / 1.116 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3325, allocations: 10.49 MB / 1.126 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00642/0.3389, allocations: 2.336 MB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.3419, allocations: 1.277 MB / 1.13 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.342, allocations: 20.97 kB / 1.13 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.342, allocations: 43.56 kB / 1.13 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.043e-06/0.342, allocations: 0 / 1.13 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.05639/0.3984, allocations: 16.48 MB / 1.146 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3985, allocations: 68.72 kB / 1.146 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3998, allocations: 1.176 MB / 1.147 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.3999, allocations: 53.7 kB / 1.147 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.4005, allocations: 0.7398 MB / 1.148 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/0.401, allocations: 0.512 MB / 1.148 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.4015, allocations: 283.5 kB / 1.149 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4016, allocations: 305.1 kB / 1.149 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.4051, allocations: 1.51 MB / 1.15 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/0.4087, allocations: 1.784 MB / 1.152 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/0.4158, allocations: 3.369 MB / 1.155 GB, free: 15.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4158, allocations: 4 kB / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01266/0.4285, allocations: 5.269 MB / 1.161 GB, free: 9.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4285, allocations: 12 kB / 1.161 GB, free: 9.852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4285, allocations: 8 kB / 1.161 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006431/0.435, allocations: 1.895 MB / 1.163 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.4368, allocations: 415.2 kB / 1.163 GB, free: 7.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02893/0.4657, allocations: 24.15 MB / 1.186 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.4679, allocations: 307.5 kB / 1.187 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.468, allocations: 71.91 kB / 1.187 GB, free: 13.88 MB / 0.9512 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.0007358/0.4688, allocations: 466 kB / 1.187 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.4691, allocations: 173.9 kB / 1.187 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.4821, allocations: 5.324 MB / 1.193 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4821, allocations: 16 kB / 1.193 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/0.4821, allocations: 20 kB / 1.193 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4821, allocations: 7.969 kB / 1.193 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.4976, allocations: 7.429 MB / 1.2 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4976, allocations: 4 kB / 1.2 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.4992, allocations: 351.8 kB / 1.2 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005581/0.5048, allocations: 1.719 MB / 1.202 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.5049, allocations: 51.91 kB / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02732/0.5322, allocations: 23.31 MB / 1.225 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5323, allocations: 8.062 kB / 1.225 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/0.5439, allocations: 4.881 MB / 1.23 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/0.5447, allocations: 0.4909 MB / 1.23 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.5449, allocations: 28 kB / 1.23 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/0.5469, allocations: 319.5 kB / 1.23 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.5472, allocations: 153.1 kB / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.5474, allocations: 55.95 kB / 1.231 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009758/0.5484, allocations: 0.786 MB / 1.231 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.024e-06/0.5484, allocations: 0 / 1.231 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001639/0.55, allocations: 0.6562 MB / 1.232 GB, free: 14.24 MB / 0.9981 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.01182/0.5618, allocations: 5.486 MB / 1.237 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01102/0.5729, allocations: 5.44 MB / 1.243 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5729, allocations: 4.125 kB / 1.243 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3507/0.9237, allocations: 3.336 MB / 1.246 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.9261, allocations: 0.5486 MB / 1.246 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03886/0.965, allocations: 22.97 MB / 1.269 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.9661, allocations: 1.572 MB / 1.27 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001481/0.9676, allocations: 385 kB / 1.271 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/0.9683, allocations: 0.6577 MB / 1.271 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.9683, allocations: 0 / 1.271 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.696/3.664, allocations: 58.34 MB / 1.328 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/17.88, allocations: 11.38 kB / 1.328 GB, free: 126.9 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches