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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001865/0.001865, allocations: 108 kB / 15.6 MB, free: 132 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.001936/0.001936, allocations: 192 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5433, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.07072/0.6141, allocations: 34.83 MB / 1.051 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03014/0.6443, allocations: 11.5 MB / 1.063 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.6489, allocations: 159.2 kB / 1.063 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01658/0.6655, allocations: 4.252 MB / 1.067 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008132/0.6737, allocations: 1.986 MB / 1.069 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008835/0.6825, allocations: 2.407 MB / 1.071 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01498/0.6975, allocations: 8.464 MB / 1.08 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02004/0.7176, allocations: 11.22 MB / 1.09 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.7226, allocations: 3.72 MB / 1.094 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005861/0.7285, allocations: 4.19 MB / 1.098 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001979/0.7305, allocations: 0.7773 MB / 1.099 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.7353, allocations: 2.021 MB / 1.101 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004229/0.7395, allocations: 3.06 MB / 1.104 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006351/0.7459, allocations: 3.4 MB / 1.107 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.7588, allocations: 11.92 MB / 1.119 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7589, allocations: 4 kB / 1.119 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7589, allocations: 0 / 1.119 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003313/0.7592, allocations: 0 / 1.119 GB, free: 10.18 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.01404/0.7733, allocations: 5.787 MB / 1.125 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7733, allocations: 12.03 kB / 1.125 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002009/0.7753, allocations: 0.8012 MB / 1.125 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/0.7824, allocations: 1.067 MB / 1.126 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.789, allocations: 3.259 MB / 1.13 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000393/0.7894, allocations: 411.4 kB / 1.13 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/0.7912, allocations: 0.5392 MB / 1.13 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.8107, allocations: 9.083 MB / 1.139 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003277/0.8111, allocations: 27.78 kB / 1.139 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/0.8129, allocations: 236 kB / 1.14 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005682/0.8135, allocations: 350.8 kB / 1.14 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.8311, allocations: 6.83 MB / 1.147 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05163/0.8828, allocations: 40.11 MB / 1.186 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.8867, allocations: 3.11 MB / 1.189 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.8894, allocations: 1.966 MB / 1.191 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.97e-05/0.8895, allocations: 18 kB / 1.191 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.8896, allocations: 52.56 kB / 1.191 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 6.052e-06/0.8896, allocations: 0 / 1.191 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02488/0.9145, allocations: 9.974 MB / 1.201 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.9146, allocations: 73.41 kB / 1.201 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.9168, allocations: 1.526 MB / 1.202 GB, free: 476 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.9169, allocations: 57.7 kB / 1.202 GB, free: 412 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.9183, allocations: 2.253 MB / 1.204 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005624/0.9189, allocations: 0.6316 MB / 1.205 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/0.9195, allocations: 403.9 kB / 1.205 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.9196, allocations: 313 kB / 1.206 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.9213, allocations: 1.179 MB / 1.207 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.9235, allocations: 1.885 MB / 1.209 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.9277, allocations: 3.371 MB / 1.212 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.9277, allocations: 8 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007787/0.9355, allocations: 4.576 MB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.9356, allocations: 16 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.9356, allocations: 20 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.9395, allocations: 1.598 MB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.9407, allocations: 347.4 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/0.964, allocations: 18.6 MB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.9658, allocations: 119.9 kB / 1.237 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.966, allocations: 92 kB / 1.237 GB, free: 11.74 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.002949/0.969, allocations: 1.894 MB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.9695, allocations: 225.4 kB / 1.239 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006991/0.9765, allocations: 4.09 MB / 1.243 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.9765, allocations: 27.98 kB / 1.243 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.949e-05/0.9765, allocations: 16.38 kB / 1.243 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.9766, allocations: 11.91 kB / 1.243 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4715/1.448, allocations: 9.468 MB / 1.252 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.448, allocations: 8.844 kB / 1.252 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008571/1.449, allocations: 178.6 kB / 1.252 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00362/1.453, allocations: 1.362 MB / 1.254 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.453, allocations: 35.67 kB / 1.254 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/1.474, allocations: 17.37 MB / 1.271 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.474, allocations: 9.375 kB / 1.271 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/1.48, allocations: 4.072 MB / 1.275 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00085/1.481, allocations: 0.5267 MB / 1.275 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/1.481, allocations: 45.19 kB / 1.275 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/1.482, allocations: 83.45 kB / 1.275 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/1.482, allocations: 165.3 kB / 1.275 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.922e-05/1.482, allocations: 49.7 kB / 1.275 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00112/1.483, allocations: 0.9999 MB / 1.276 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.483, allocations: 0 / 1.276 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00255/1.486, allocations: 0.9856 MB / 1.277 GB, free: 196.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.005934/1.492, allocations: 4.665 MB / 1.282 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006933/1.499, allocations: 5.194 MB / 1.287 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.499, allocations: 4.312 kB / 1.287 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00341/1.502, allocations: 2.659 MB / 1.29 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.505, allocations: 0.7852 MB / 1.29 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/1.539, allocations: 28.67 MB / 1.318 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004598/1.544, allocations: 3.569 MB / 1.322 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001298/1.545, allocations: 463.9 kB / 1.322 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.547, allocations: 1.788 MB / 1.324 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.547, allocations: 0 / 1.324 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.648, allocations: 72.47 MB / 1.395 GB, free: 86.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.8, allocations: 15.5 kB / 1.395 GB, free: 86.61 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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