Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.0007983/0.0007983, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.004898/0.004898, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.266/1.266, 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.473/2.473, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6297/0.6301, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03401/0.6642, allocations: 33.72 MB / 1.056 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.6817, allocations: 11.39 MB / 1.067 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.6846, allocations: 135.2 kB / 1.067 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.6865, allocations: 0.6899 MB / 1.068 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.6911, allocations: 1.871 MB / 1.07 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.6956, allocations: 2 MB / 1.072 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.7067, allocations: 12.41 MB / 1.084 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/0.7284, allocations: 14.33 MB / 1.098 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004841/0.7333, allocations: 2.61 MB / 1.1 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005578/0.7389, allocations: 3.558 MB / 1.104 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.7402, allocations: 328 kB / 1.104 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004325/0.7446, allocations: 1.903 MB / 1.106 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003315/0.7479, allocations: 2.471 MB / 1.109 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004953/0.7529, allocations: 2.73 MB / 1.111 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.7644, allocations: 11.44 MB / 1.122 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7644, allocations: 4 kB / 1.122 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7644, allocations: 0 / 1.122 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002309/0.7647, allocations: 0 / 1.122 GB, free: 9.863 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008366/0.7731, allocations: 4.652 MB / 1.127 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.7731, allocations: 8.031 kB / 1.127 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001197/0.7743, allocations: 0.809 MB / 1.128 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.7796, allocations: 1.064 MB / 1.129 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.7845, allocations: 3.259 MB / 1.132 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.7848, allocations: 415.5 kB / 1.132 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008282/0.7856, allocations: 0.5353 MB / 1.133 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.8, allocations: 9.079 MB / 1.142 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.8002, allocations: 27.78 kB / 1.142 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005295/0.8007, allocations: 240 kB / 1.142 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003505/0.8011, allocations: 350.8 kB / 1.142 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.8124, allocations: 6.822 MB / 1.149 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04018/0.8526, allocations: 40.2 MB / 1.188 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/0.8563, allocations: 3.112 MB / 1.191 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/0.8589, allocations: 1.943 MB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.859, allocations: 18 kB / 1.193 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.8591, allocations: 56.56 kB / 1.193 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 3.327e-06/0.8591, allocations: 0 / 1.193 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.0242/0.8833, allocations: 10.04 MB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.8834, allocations: 69.41 kB / 1.203 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.8855, allocations: 1.526 MB / 1.205 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.8856, allocations: 53.7 kB / 1.205 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.8869, allocations: 2.257 MB / 1.207 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/0.8875, allocations: 0.6238 MB / 1.207 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.8878, allocations: 182.1 kB / 1.208 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.8879, allocations: 309.1 kB / 1.208 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.8895, allocations: 1.176 MB / 1.209 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.8916, allocations: 1.885 MB / 1.211 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.8957, allocations: 3.364 MB / 1.214 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.8957, allocations: 11.94 kB / 1.214 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007329/0.9031, allocations: 4.581 MB / 1.219 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.9031, allocations: 12.22 kB / 1.219 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.9031, allocations: 28 kB / 1.219 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.9068, allocations: 1.576 MB / 1.22 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.9079, allocations: 359.3 kB / 1.221 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.9279, allocations: 17.07 MB / 1.237 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9295, allocations: 119.9 kB / 1.237 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.9297, allocations: 96 kB / 1.237 GB, free: 14.23 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002878/0.9326, allocations: 1.902 MB / 1.239 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.933, allocations: 225.3 kB / 1.24 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006746/0.9397, allocations: 4.094 MB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.9398, allocations: 20 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-05/0.9398, allocations: 16 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.9398, allocations: 12.34 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5006/1.44, allocations: 9.452 MB / 1.253 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.44, allocations: 4.625 kB / 1.253 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009197/1.441, allocations: 183.6 kB / 1.253 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/1.445, allocations: 1.355 MB / 1.254 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.445, allocations: 33.52 kB / 1.254 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/1.466, allocations: 15.98 MB / 1.27 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.466, allocations: 4.531 kB / 1.27 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006828/1.473, allocations: 4.071 MB / 1.274 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.474, allocations: 0.529 MB / 1.274 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.474, allocations: 42.58 kB / 1.274 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/1.475, allocations: 88.97 kB / 1.275 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006009/1.476, allocations: 161 kB / 1.275 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.476, allocations: 46.59 kB / 1.275 GB, free: 196 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001401/1.477, allocations: 1.004 MB / 1.276 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.477, allocations: 0 / 1.276 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003254/1.48, allocations: 0.9848 MB / 1.277 GB, free: 195.5 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005915/1.486, allocations: 4.676 MB / 1.281 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005563/1.492, allocations: 4.29 MB / 1.285 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.492, allocations: 4.969 kB / 1.285 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003596/1.496, allocations: 2.676 MB / 1.288 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/1.5, allocations: 0.7212 MB / 1.289 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03648/1.536, allocations: 30.93 MB / 1.319 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002983/1.539, allocations: 3.573 MB / 1.322 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001292/1.541, allocations: 463.9 kB / 1.323 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.542, allocations: 1.792 MB / 1.325 GB, free: 159 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.542, allocations: 0 / 1.325 GB, free: 159 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/1.697, allocations: 69.86 MB / 1.393 GB, free: 89.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/1.697, allocations: 253 kB / 1.393 GB, free: 89.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.422, allocations: 4 kB / 1.393 GB, free: 89.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches