Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.007889/0.007889, allocations: 104 kB / 15.73 MB, free: 6.051 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.001802/0.001803, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.06/2.06, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.717, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0391/0.7561, allocations: 32.6 MB / 1.119 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.7745, allocations: 10.26 MB / 1.129 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.7782, allocations: 149 kB / 1.129 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009518/0.7878, allocations: 3.723 MB / 1.133 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.794, allocations: 1.853 MB / 1.135 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.8005, allocations: 2.128 MB / 1.137 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.8106, allocations: 7.327 MB / 1.144 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/0.823, allocations: 9.42 MB / 1.153 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006483/0.8295, allocations: 3.173 MB / 1.156 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007201/0.8368, allocations: 3.48 MB / 1.16 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002479/0.8393, allocations: 0.6455 MB / 1.16 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006325/0.8456, allocations: 1.771 MB / 1.162 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00568/0.8513, allocations: 2.544 MB / 1.165 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006855/0.8582, allocations: 2.901 MB / 1.168 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.872, allocations: 10.11 MB / 1.177 GB, free: 14.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.8721, allocations: 4 kB / 1.177 GB, free: 14.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8721, allocations: 5.062 kB / 1.177 GB, free: 14.6 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002995/0.8724, allocations: 0 / 1.177 GB, free: 14.6 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01595/0.8883, allocations: 4.997 MB / 1.182 GB, free: 11.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8884, allocations: 8.25 kB / 1.182 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002272/0.8907, allocations: 0.6827 MB / 1.183 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006378/0.8971, allocations: 0.9557 MB / 1.184 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008017/0.9051, allocations: 3.041 MB / 1.187 GB, free: 8.109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.9054, allocations: 349.6 kB / 1.187 GB, free: 7.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/0.9071, allocations: 468.2 kB / 1.188 GB, free: 7.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.9202, allocations: 7.663 MB / 1.195 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.9204, allocations: 27.78 kB / 1.195 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000481/0.9209, allocations: 200 kB / 1.195 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003222/0.9212, allocations: 312.9 kB / 1.196 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009501/0.9307, allocations: 5.71 MB / 1.201 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.9632, allocations: 34.82 MB / 1.235 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.9657, allocations: 2.161 MB / 1.237 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.9672, allocations: 1.268 MB / 1.239 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.9673, allocations: 13.31 kB / 1.239 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.9673, allocations: 47.88 kB / 1.239 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.045e-06/0.9673, allocations: 0 / 1.239 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01287/0.9802, allocations: 7.081 MB / 1.246 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.9803, allocations: 68.72 kB / 1.246 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.9822, allocations: 1.488 MB / 1.247 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.9823, allocations: 49.7 kB / 1.247 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.9834, allocations: 1.996 MB / 1.249 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.9838, allocations: 497 kB / 1.25 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/0.9843, allocations: 351.1 kB / 1.25 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.9844, allocations: 301.1 kB / 1.25 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.9856, allocations: 0.9135 MB / 1.251 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.9871, allocations: 1.593 MB / 1.253 GB, free: 400 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.99, allocations: 2.737 MB / 1.255 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.9901, allocations: 12 kB / 1.255 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005469/0.9955, allocations: 3.526 MB / 1.259 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.9956, allocations: 16 kB / 1.259 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.9956, allocations: 23.94 kB / 1.259 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.998, allocations: 0.9121 MB / 1.26 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.9991, allocations: 343.4 kB / 1.26 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/1.018, allocations: 23.1 MB / 1.283 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.019, allocations: 104 kB / 1.283 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/1.02, allocations: 88 kB / 1.283 GB, free: 15.46 MB / 1.029 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002541/1.022, allocations: 1.611 MB / 1.284 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.023, allocations: 213.4 kB / 1.285 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/1.027, allocations: 2.982 MB / 1.287 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/1.027, allocations: 20 kB / 1.287 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/1.028, allocations: 8 kB / 1.287 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.028, allocations: 11.91 kB / 1.287 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.039, allocations: 7.333 MB / 1.295 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-06/1.039, allocations: 4 kB / 1.295 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/1.04, allocations: 179.7 kB / 1.295 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.042, allocations: 0.8221 MB / 1.296 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/1.042, allocations: 28 kB / 1.296 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/1.059, allocations: 21.95 MB / 1.317 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.059, allocations: 7.938 kB / 1.317 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/1.064, allocations: 3.021 MB / 1.32 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.065, allocations: 462.4 kB / 1.32 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003405/1.066, allocations: 28.17 kB / 1.32 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/1.066, allocations: 71.86 kB / 1.321 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/1.067, allocations: 128.7 kB / 1.321 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/1.067, allocations: 36 kB / 1.321 GB, free: 6.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001276/1.068, allocations: 0.9795 MB / 1.322 GB, free: 5.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.71e-07/1.068, allocations: 0 / 1.322 GB, free: 5.418 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002659/1.071, allocations: 0.7852 MB / 1.322 GB, free: 4.633 MB / 1.061 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00467/1.075, allocations: 3.619 MB / 1.326 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005159/1.081, allocations: 4.039 MB / 1.33 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.081, allocations: 5 kB / 1.33 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003267/1.084, allocations: 2.732 MB / 1.333 GB, free: 9.805 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.087, allocations: 0.728 MB / 1.333 GB, free: 9.102 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/1.118, allocations: 22.33 MB / 1.355 GB, free: 1.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.121, allocations: 3.109 MB / 1.358 GB, free: 14.61 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001089/1.122, allocations: 454 kB / 1.359 GB, free: 14.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/1.124, allocations: 1.53 MB / 1.36 GB, free: 12.63 MB / 1.107 GB Notification: Performance of SimCode: time 7.61e-07/1.124, allocations: 0 / 1.36 GB, free: 12.63 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.441/2.565, allocations: 61.43 MB / 1.42 GB, free: 15.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/19.24, allocations: 11.19 kB / 1.42 GB, free: 15.87 MB / 1.17 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches