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.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001143/0.001143, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.441 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.39/2.39, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7322, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03777/0.77, allocations: 34.52 MB / 0.983 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.7899, allocations: 11.4 MB / 0.9941 GB, free: 4 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004119/0.7941, allocations: 143.2 kB / 0.9942 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01042/0.8046, allocations: 3.996 MB / 0.9981 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.8111, allocations: 1.836 MB / 0.9999 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006543/0.8177, allocations: 2.188 MB / 1.002 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.8281, allocations: 8.479 MB / 1.01 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02107/0.8492, allocations: 13.44 MB / 1.023 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/0.8556, allocations: 3.789 MB / 1.027 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006649/0.8623, allocations: 4.393 MB / 1.031 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002541/0.8649, allocations: 0.7773 MB / 1.032 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005465/0.8703, allocations: 2.028 MB / 1.034 GB, free: 10.76 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005136/0.8755, allocations: 3.06 MB / 1.037 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007377/0.8829, allocations: 3.4 MB / 1.041 GB, free: 4.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.8992, allocations: 12.02 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8992, allocations: 4 kB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8992, allocations: 0 / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004353/0.8997, allocations: 0 / 1.052 GB, free: 8.223 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.01587/0.9156, allocations: 5.8 MB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.9156, allocations: 8.031 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002635/0.9183, allocations: 0.8051 MB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/0.925, allocations: 1.06 MB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00679/0.9318, allocations: 3.266 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.9322, allocations: 415.5 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001813/0.934, allocations: 0.5431 MB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.9529, allocations: 9.075 MB / 1.073 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002387/0.9532, allocations: 23.78 kB / 1.073 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.9545, allocations: 236 kB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003898/0.9549, allocations: 350.8 kB / 1.073 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.9679, allocations: 6.826 MB / 1.08 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0422/1.01, allocations: 40.11 MB / 1.119 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/1.014, allocations: 3.101 MB / 1.122 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/1.016, allocations: 1.97 MB / 1.124 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/1.017, allocations: 22 kB / 1.124 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.017, allocations: 56.5 kB / 1.124 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 3.306e-06/1.017, allocations: 0 / 1.124 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02415/1.041, allocations: 9.977 MB / 1.134 GB, free: 160 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.041, allocations: 69.41 kB / 1.134 GB, free: 80 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/1.043, allocations: 1.53 MB / 1.135 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.043, allocations: 53.7 kB / 1.136 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.045, allocations: 2.253 MB / 1.138 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/1.045, allocations: 0.6276 MB / 1.138 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006347/1.046, allocations: 411.9 kB / 1.139 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/1.046, allocations: 305.1 kB / 1.139 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/1.048, allocations: 1.172 MB / 1.14 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/1.05, allocations: 1.889 MB / 1.142 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004005/1.054, allocations: 3.371 MB / 1.145 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/1.054, allocations: 8 kB / 1.145 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007747/1.062, allocations: 4.581 MB / 1.15 GB, free: 15.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.062, allocations: 12 kB / 1.15 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/1.062, allocations: 24 kB / 1.15 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003813/1.066, allocations: 1.596 MB / 1.151 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.067, allocations: 347.4 kB / 1.152 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/1.089, allocations: 18.61 MB / 1.17 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/1.091, allocations: 115.9 kB / 1.17 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/1.091, allocations: 96 kB / 1.17 GB, free: 9.773 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.002852/1.094, allocations: 1.898 MB / 1.172 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/1.094, allocations: 229.3 kB / 1.172 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/1.101, allocations: 4.094 MB / 1.176 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.101, allocations: 16 kB / 1.176 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.75e-05/1.101, allocations: 20 kB / 1.176 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/1.101, allocations: 15.91 kB / 1.176 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.116, allocations: 9.462 MB / 1.185 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.116, allocations: 4 kB / 1.185 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/1.117, allocations: 183.7 kB / 1.186 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/1.12, allocations: 1.366 MB / 1.187 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.12, allocations: 32 kB / 1.187 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.14, allocations: 17.36 MB / 1.204 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.14, allocations: 4 kB / 1.204 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/1.146, allocations: 4.081 MB / 1.208 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.147, allocations: 0.5257 MB / 1.208 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/1.148, allocations: 28 kB / 1.208 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.149, allocations: 91.89 kB / 1.209 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/1.149, allocations: 165.7 kB / 1.209 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.149, allocations: 44 kB / 1.209 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001484/1.151, allocations: 1.005 MB / 1.21 GB, free: 176 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/1.151, allocations: 0 / 1.21 GB, free: 176 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002933/1.154, allocations: 0.9844 MB / 1.211 GB, free: 15.18 MB / 0.9825 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.006432/1.16, allocations: 4.671 MB / 1.215 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007757/1.168, allocations: 5.194 MB / 1.22 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.168, allocations: 0 / 1.22 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003807/1.172, allocations: 2.674 MB / 1.223 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.175, allocations: 0.7827 MB / 1.224 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05224/1.227, allocations: 30.91 MB / 1.254 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4555/1.683, allocations: 3.571 MB / 1.257 GB, free: 277.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001829/1.685, allocations: 465.1 kB / 1.258 GB, free: 277.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.687, allocations: 1.789 MB / 1.26 GB, free: 277.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.687, allocations: 0 / 1.26 GB, free: 277.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/1.824, allocations: 72.66 MB / 1.331 GB, free: 230.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.825, allocations: 249.7 kB / 1.331 GB, free: 230.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.806, allocations: 2.906 kB / 1.331 GB, free: 230.1 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