Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.000872/0.0008719, allocations: 90.52 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.005608/0.005609, allocations: 171.1 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 16 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6254/0.6258, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03108/0.6569, allocations: 32.23 MB / 1.055 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02177/0.6787, allocations: 14.62 MB / 1.069 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.6822, allocations: 139.2 kB / 1.069 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.6843, allocations: 0.721 MB / 1.07 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007169/0.6915, allocations: 2.69 MB / 1.072 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00465/0.6962, allocations: 1.997 MB / 1.074 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.7088, allocations: 12.2 MB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.7262, allocations: 11.51 MB / 1.097 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/0.7317, allocations: 2.969 MB / 1.1 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005919/0.7376, allocations: 3.507 MB / 1.104 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.7391, allocations: 296 kB / 1.104 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.7437, allocations: 1.556 MB / 1.106 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004451/0.7482, allocations: 2.291 MB / 1.108 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005939/0.7541, allocations: 2.785 MB / 1.111 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.7647, allocations: 10.65 MB / 1.121 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7648, allocations: 0 / 1.121 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7648, allocations: 4 kB / 1.121 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003249/0.7651, allocations: 0 / 1.121 GB, free: 11.3 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.009949/0.7751, allocations: 4.829 MB / 1.126 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7751, allocations: 16.03 kB / 1.126 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001313/0.7764, allocations: 0.7193 MB / 1.126 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00632/0.7828, allocations: 1.153 MB / 1.128 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/0.7883, allocations: 3.328 MB / 1.131 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.7886, allocations: 374.4 kB / 1.131 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007978/0.7894, allocations: 495.8 kB / 1.132 GB, free: 232 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.8018, allocations: 8.009 MB / 1.139 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.802, allocations: 23.78 kB / 1.139 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004927/0.8025, allocations: 216 kB / 1.14 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001004/0.8035, allocations: 433.6 kB / 1.14 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009695/0.8132, allocations: 6.092 MB / 1.146 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.8509, allocations: 35.22 MB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.8537, allocations: 2.026 MB / 1.182 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.8561, allocations: 1.85 MB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.8562, allocations: 18 kB / 1.184 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.8563, allocations: 64.48 kB / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 2.685e-06/0.8563, allocations: 3.938 kB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1432/0.9995, allocations: 39.01 MB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.9996, allocations: 81.58 kB / 1.222 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/1.003, allocations: 2.274 MB / 1.225 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.003, allocations: 77.7 kB / 1.225 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.004, allocations: 2.272 MB / 1.227 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007654/1.005, allocations: 0.9395 MB / 1.228 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/1.005, allocations: 235.8 kB / 1.228 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.006, allocations: 305.1 kB / 1.228 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002691/1.008, allocations: 1.97 MB / 1.23 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/1.011, allocations: 2.602 MB / 1.233 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006087/1.017, allocations: 4.937 MB / 1.238 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.018, allocations: 4 kB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01391/1.031, allocations: 7.75 MB / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.032, allocations: 17.81 kB / 1.245 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/1.032, allocations: 19.98 kB / 1.245 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008832/1.04, allocations: 3.21 MB / 1.248 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.042, allocations: 407.3 kB / 1.249 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5218/1.564, allocations: 31.17 MB / 1.279 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.567, allocations: 163.7 kB / 1.279 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.567, allocations: 115.3 kB / 1.28 GB, free: 193.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002649/1.57, allocations: 1.801 MB / 1.281 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/1.57, allocations: 326.4 kB / 1.282 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.582, allocations: 7.352 MB / 1.289 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.582, allocations: 33.83 kB / 1.289 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.582, allocations: 27.5 kB / 1.289 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/1.582, allocations: 11.48 kB / 1.289 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/1.598, allocations: 12.95 MB / 1.301 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.598, allocations: 4.156 kB / 1.301 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/1.599, allocations: 237.1 kB / 1.302 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006651/1.606, allocations: 2.843 MB / 1.304 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.606, allocations: 60.5 kB / 1.305 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0306/1.637, allocations: 29.98 MB / 1.334 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.637, allocations: 7.938 kB / 1.334 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.647, allocations: 6.894 MB / 1.341 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.648, allocations: 0.7833 MB / 1.341 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/1.649, allocations: 56 kB / 1.341 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.65, allocations: 163.8 kB / 1.342 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/1.651, allocations: 253.5 kB / 1.342 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.651, allocations: 76 kB / 1.342 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001728/1.653, allocations: 1.525 MB / 1.343 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.71e-07/1.653, allocations: 0 / 1.343 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003516/1.656, allocations: 1.371 MB / 1.345 GB, free: 142.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009783/1.666, allocations: 7.521 MB / 1.352 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009725/1.676, allocations: 6.904 MB / 1.359 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.676, allocations: 0 / 1.359 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00583/1.682, allocations: 4.424 MB / 1.363 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006111/1.688, allocations: 1.033 MB / 1.364 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05656/1.744, allocations: 46.05 MB / 1.409 GB, free: 73.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/1.748, allocations: 3.642 MB / 1.413 GB, free: 69.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001879/1.749, allocations: 0.5556 MB / 1.413 GB, free: 69.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.751, allocations: 1.975 MB / 1.415 GB, free: 67.25 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.751, allocations: 0 / 1.415 GB, free: 67.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/1.891, allocations: 107.9 MB / 1.52 GB, free: 8.594 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.891, allocations: 249 kB / 1.521 GB, free: 8.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/5.687, allocations: 0 / 1.521 GB, free: 8.34 MB / 1.045 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches