Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.004896/0.004896, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001369/0.001369, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 55.91 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6209/0.6226, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008285/0.6309, allocations: 6.802 MB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004201/0.6352, allocations: 3.071 MB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.6354, allocations: 31.75 kB / 1.176 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.6376, allocations: 0.943 MB / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008097/0.6384, allocations: 0.5051 MB / 1.177 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.6392, allocations: 445.5 kB / 1.178 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.6404, allocations: 1.228 MB / 1.179 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008063/0.6412, allocations: 0.6687 MB / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.6417, allocations: 474.4 kB / 1.18 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.6423, allocations: 0.5291 MB / 1.181 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.6424, allocations: 68 kB / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.643, allocations: 371.3 kB / 1.181 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.6433, allocations: 319.1 kB / 1.181 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.6437, allocations: 441.8 kB / 1.182 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.6449, allocations: 1.231 MB / 1.183 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6449, allocations: 4 kB / 1.183 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6449, allocations: 0 / 1.183 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.6449, allocations: 0 / 1.183 GB, free: 2.641 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00169/0.6466, allocations: 1.191 MB / 1.184 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6467, allocations: 8.922 kB / 1.184 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.6468, allocations: 126.6 kB / 1.184 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.6482, allocations: 248 kB / 1.184 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.6491, allocations: 0.6081 MB / 1.185 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.6491, allocations: 53.67 kB / 1.185 GB, free: 316 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.6492, allocations: 64.36 kB / 1.185 GB, free: 252 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6507, allocations: 1.085 MB / 1.186 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6507, allocations: 7.938 kB / 1.186 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.6508, allocations: 27.98 kB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.651, allocations: 85.25 kB / 1.186 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.6521, allocations: 0.7543 MB / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.6581, allocations: 5.871 MB / 1.193 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.6591, allocations: 0.5594 MB / 1.193 GB, free: 7.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.6595, allocations: 327.1 kB / 1.194 GB, free: 6.988 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.6596, allocations: 8.375 kB / 1.194 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.6596, allocations: 39 kB / 1.194 GB, free: 6.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 5.07e-06/0.6596, allocations: 3.984 kB / 1.194 GB, free: 6.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003772/0.6634, allocations: 1.999 MB / 1.196 GB, free: 4.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.6635, allocations: 55.84 kB / 1.196 GB, free: 4.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.6641, allocations: 0.5626 MB / 1.196 GB, free: 4.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.6642, allocations: 41.64 kB / 1.196 GB, free: 4.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.6645, allocations: 428 kB / 1.197 GB, free: 3.73 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.6646, allocations: 178.5 kB / 1.197 GB, free: 3.555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.6648, allocations: 130.5 kB / 1.197 GB, free: 3.418 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.665, allocations: 378.7 kB / 1.197 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.6654, allocations: 269.8 kB / 1.198 GB, free: 2.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.666, allocations: 493 kB / 1.198 GB, free: 2.203 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6671, allocations: 0.8171 MB / 1.199 GB, free: 1.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6671, allocations: 0 / 1.199 GB, free: 1.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001836/0.6689, allocations: 1.087 MB / 1.2 GB, free: 192 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.669, allocations: 15.97 kB / 1.2 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.669, allocations: 8 kB / 1.2 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008055/0.6698, allocations: 283.1 kB / 1.2 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.6703, allocations: 127.8 kB / 1.2 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00685/0.6771, allocations: 7.139 MB / 1.207 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.6776, allocations: 39.95 kB / 1.207 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.6776, allocations: 28 kB / 1.207 GB, free: 7.977 MB / 0.9356 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0002846/0.6779, allocations: 258 kB / 1.208 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.678, allocations: 71.62 kB / 1.208 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.6795, allocations: 0.8965 MB / 1.209 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6796, allocations: 4 kB / 1.209 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6796, allocations: 4 kB / 1.209 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6796, allocations: 3.984 kB / 1.209 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.682, allocations: 1.728 MB / 1.21 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.682, allocations: 7.875 kB / 1.21 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.6823, allocations: 55.95 kB / 1.21 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000707/0.683, allocations: 275.2 kB / 1.211 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.683, allocations: 8 kB / 1.211 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/0.6895, allocations: 7.132 MB / 1.218 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6895, allocations: 192 / 1.218 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.691, allocations: 0.9839 MB / 1.219 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.6912, allocations: 200.6 kB / 1.219 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.6913, allocations: 11.94 kB / 1.219 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.6917, allocations: 35.95 kB / 1.219 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.6918, allocations: 39.89 kB / 1.219 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.6918, allocations: 16 kB / 1.219 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004092/0.6922, allocations: 391.1 kB / 1.219 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6922, allocations: 0 / 1.219 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006364/0.6928, allocations: 224 kB / 1.219 GB, free: 10.91 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/0.6946, allocations: 1.548 MB / 1.221 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.6965, allocations: 1.275 MB / 1.222 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6965, allocations: 3.938 kB / 1.222 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.6977, allocations: 0.8893 MB / 1.223 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009108/0.6986, allocations: 221.7 kB / 1.223 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007941/0.7065, allocations: 6.414 MB / 1.229 GB, free: 68 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.7072, allocations: 1.016 MB / 1.23 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.7075, allocations: 114 kB / 1.231 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.7078, allocations: 255.3 kB / 1.231 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.7078, allocations: 0 / 1.231 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.809/4.517, allocations: 17.51 MB / 1.248 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/16.96, allocations: 1.875 kB / 1.248 GB, free: 13.44 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches