Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 148 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.001163/0.001163, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5937, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03505/0.6288, allocations: 34.84 MB / 0.9838 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.6474, allocations: 11.49 MB / 0.995 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.6508, allocations: 163.2 kB / 0.9951 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.6613, allocations: 4.256 MB / 0.9993 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.6673, allocations: 1.986 MB / 1.001 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005643/0.673, allocations: 2.403 MB / 1.004 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00846/0.6814, allocations: 8.468 MB / 1.012 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/0.6942, allocations: 11.21 MB / 1.023 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.6992, allocations: 3.728 MB / 1.026 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005926/0.7052, allocations: 4.179 MB / 1.031 GB, free: 14.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001948/0.7071, allocations: 0.7773 MB / 1.031 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.7116, allocations: 2.028 MB / 1.033 GB, free: 12.04 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.7155, allocations: 3.06 MB / 1.036 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006538/0.722, allocations: 3.4 MB / 1.04 GB, free: 5.555 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.7377, allocations: 11.91 MB / 1.051 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.7377, allocations: 4 kB / 1.051 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7377, allocations: 0 / 1.051 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000426/0.7381, allocations: 0 / 1.051 GB, free: 9.605 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01559/0.7537, allocations: 5.791 MB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7538, allocations: 12.03 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001598/0.7554, allocations: 0.8051 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005901/0.7613, allocations: 1.067 MB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006591/0.7679, allocations: 3.262 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.7683, allocations: 415.5 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008093/0.7691, allocations: 0.5392 MB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.7846, allocations: 9.079 MB / 1.072 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.7847, allocations: 31.77 kB / 1.072 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005481/0.7853, allocations: 232 kB / 1.072 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/0.7857, allocations: 346.8 kB / 1.072 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.7977, allocations: 6.826 MB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.8408, allocations: 40.12 MB / 1.118 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/0.8444, allocations: 3.11 MB / 1.121 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.8468, allocations: 1.966 MB / 1.123 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.109e-05/0.8469, allocations: 18 kB / 1.123 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.847, allocations: 60.48 kB / 1.123 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 5.162e-05/0.847, allocations: 3.984 kB / 1.123 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02251/0.8696, allocations: 9.981 MB / 1.133 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.8696, allocations: 69.41 kB / 1.133 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.8715, allocations: 1.522 MB / 1.134 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.8716, allocations: 57.64 kB / 1.134 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.8729, allocations: 2.249 MB / 1.137 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/0.8734, allocations: 0.6315 MB / 1.137 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000579/0.874, allocations: 407.9 kB / 1.138 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.8741, allocations: 305.1 kB / 1.138 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.8757, allocations: 1.183 MB / 1.139 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.8777, allocations: 1.881 MB / 1.141 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.8816, allocations: 3.371 MB / 1.144 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.8816, allocations: 4 kB / 1.144 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007262/0.8889, allocations: 4.573 MB / 1.149 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.8889, allocations: 16 kB / 1.149 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.889, allocations: 24 kB / 1.149 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/0.8926, allocations: 1.596 MB / 1.15 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.8938, allocations: 347.4 kB / 1.151 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/0.9173, allocations: 18.61 MB / 1.169 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.919, allocations: 123.9 kB / 1.169 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.9193, allocations: 95.98 kB / 1.169 GB, free: 11.15 MB / 0.9356 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.002943/0.9223, allocations: 1.891 MB / 1.171 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.9227, allocations: 225.3 kB / 1.171 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006656/0.9294, allocations: 4.098 MB / 1.175 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.9294, allocations: 16 kB / 1.175 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.374e-05/0.9295, allocations: 16 kB / 1.175 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.9295, allocations: 11.91 kB / 1.175 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.9445, allocations: 9.474 MB / 1.184 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.9445, allocations: 4.562 kB / 1.184 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.9453, allocations: 175.7 kB / 1.185 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/0.9486, allocations: 1.368 MB / 1.186 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.9488, allocations: 32 kB / 1.186 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02164/0.9704, allocations: 17.37 MB / 1.203 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9705, allocations: 11.88 kB / 1.203 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007043/0.9775, allocations: 4.065 MB / 1.207 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.9786, allocations: 0.5257 MB / 1.207 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/0.979, allocations: 40.44 kB / 1.207 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.9801, allocations: 87.89 kB / 1.208 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.9806, allocations: 161.7 kB / 1.208 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.9807, allocations: 52 kB / 1.208 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001581/0.9823, allocations: 1.001 MB / 1.209 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9823, allocations: 0 / 1.209 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00314/0.9854, allocations: 0.9844 MB / 1.21 GB, free: 0.5625 MB / 0.9669 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.006828/0.9923, allocations: 4.667 MB / 1.214 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008524/1.001, allocations: 5.206 MB / 1.219 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.001, allocations: 4.312 kB / 1.219 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004228/1.005, allocations: 2.669 MB / 1.222 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.009, allocations: 0.7732 MB / 1.223 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04212/1.051, allocations: 28.66 MB / 1.251 GB, free: 4.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/1.054, allocations: 3.569 MB / 1.254 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001333/1.056, allocations: 471.9 kB / 1.255 GB, free: 344 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3958/1.452, allocations: 1.783 MB / 1.256 GB, free: 276.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.412e-06/1.452, allocations: 1.125 kB / 1.256 GB, free: 276.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.561, allocations: 72.48 MB / 1.327 GB, free: 231.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.95, allocations: 9.812 kB / 1.327 GB, free: 231.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches