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.006744/0.006744, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001526/0.001526, allocations: 201.1 kB / 16.68 MB, free: 5.965 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.41 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2614, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03966/0.3011, allocations: 34.84 MB / 1.122 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.3207, allocations: 11.48 MB / 1.133 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.3233, allocations: 163.2 kB / 1.133 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.3335, allocations: 4.259 MB / 1.137 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.3391, allocations: 2.092 MB / 1.139 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/0.3452, allocations: 2.4 MB / 1.141 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009738/0.3549, allocations: 8.479 MB / 1.15 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.3702, allocations: 11.13 MB / 1.161 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005684/0.3759, allocations: 3.794 MB / 1.164 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006477/0.3824, allocations: 4.186 MB / 1.168 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.3844, allocations: 0.7812 MB / 1.169 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/0.389, allocations: 2.028 MB / 1.171 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004046/0.3931, allocations: 3.053 MB / 1.174 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005235/0.3983, allocations: 3.4 MB / 1.177 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.4115, allocations: 12.01 MB / 1.189 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4115, allocations: 0 / 1.189 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4116, allocations: 0 / 1.189 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003383/0.4119, allocations: 0 / 1.189 GB, free: 9.469 MB / 0.9512 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.01254/0.4245, allocations: 5.946 MB / 1.195 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4245, allocations: 12.03 kB / 1.195 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00128/0.4258, allocations: 0.809 MB / 1.196 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/0.4316, allocations: 1.078 MB / 1.197 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007684/0.4393, allocations: 3.471 MB / 1.2 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.4397, allocations: 415.5 kB / 1.201 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4409, allocations: 0.5393 MB / 1.201 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4572, allocations: 9.079 MB / 1.21 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.4574, allocations: 35.77 kB / 1.21 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005954/0.458, allocations: 232 kB / 1.21 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.4583, allocations: 350.8 kB / 1.211 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.4697, allocations: 6.826 MB / 1.217 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04248/0.5122, allocations: 39.86 MB / 1.256 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4852/0.9974, allocations: 3.1 MB / 1.259 GB, free: 153.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/1, allocations: 1.989 MB / 1.261 GB, free: 153.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.853e-05/1, allocations: 19.84 kB / 1.261 GB, free: 153.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1, allocations: 52.41 kB / 1.261 GB, free: 153 MB / 1.014 GB Notification: Performance of pre-optimization done (n=179): time 4.138e-06/1, allocations: 2.953 kB / 1.261 GB, free: 153 MB / 1.014 GB Notification: Performance of matching and sorting (n=182): time 0.02561/1.026, allocations: 10.05 MB / 1.271 GB, free: 149.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.026, allocations: 74.84 kB / 1.271 GB, free: 149.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/1.029, allocations: 1.527 MB / 1.273 GB, free: 149.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/1.029, allocations: 52.55 kB / 1.273 GB, free: 149 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/1.03, allocations: 2.321 MB / 1.275 GB, free: 147.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/1.03, allocations: 0.6633 MB / 1.276 GB, free: 147.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/1.031, allocations: 410.4 kB / 1.276 GB, free: 147 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/1.031, allocations: 310.8 kB / 1.276 GB, free: 146.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.033, allocations: 1.175 MB / 1.277 GB, free: 146.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/1.035, allocations: 1.875 MB / 1.279 GB, free: 144.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/1.039, allocations: 3.374 MB / 1.283 GB, free: 142.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.039, allocations: 14.41 kB / 1.283 GB, free: 142.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007663/1.046, allocations: 4.588 MB / 1.287 GB, free: 141.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/1.046, allocations: 20.41 kB / 1.287 GB, free: 141.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.046, allocations: 26.78 kB / 1.287 GB, free: 141.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/1.05, allocations: 1.582 MB / 1.289 GB, free: 140.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.051, allocations: 350.9 kB / 1.289 GB, free: 140.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.072, allocations: 18.59 MB / 1.307 GB, free: 129.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.073, allocations: 121.2 kB / 1.307 GB, free: 129.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.073, allocations: 106.6 kB / 1.307 GB, free: 129.3 MB / 1.014 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.002276/1.076, allocations: 1.891 MB / 1.309 GB, free: 128.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/1.076, allocations: 237.3 kB / 1.309 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005532/1.081, allocations: 4.092 MB / 1.313 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.082, allocations: 19.56 kB / 1.313 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.082, allocations: 15.69 kB / 1.313 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.082, allocations: 7.969 kB / 1.313 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.093, allocations: 9.474 MB / 1.323 GB, free: 120.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.093, allocations: 4.719 kB / 1.323 GB, free: 120.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/1.094, allocations: 184.6 kB / 1.323 GB, free: 120.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002894/1.097, allocations: 1.348 MB / 1.324 GB, free: 119.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.097, allocations: 36 kB / 1.324 GB, free: 119.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.113, allocations: 17.37 MB / 1.341 GB, free: 101.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.113, allocations: 8 kB / 1.341 GB, free: 101.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005442/1.119, allocations: 4.091 MB / 1.345 GB, free: 97.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.12, allocations: 0.5385 MB / 1.346 GB, free: 97.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/1.12, allocations: 32 kB / 1.346 GB, free: 97.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/1.121, allocations: 87.89 kB / 1.346 GB, free: 96.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/1.122, allocations: 168.2 kB / 1.346 GB, free: 96.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/1.122, allocations: 44 kB / 1.346 GB, free: 96.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001035/1.123, allocations: 1.001 MB / 1.347 GB, free: 95.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 1.347 GB, free: 95.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002912/1.126, allocations: 0.9922 MB / 1.348 GB, free: 94.71 MB / 1.014 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.005217/1.131, allocations: 4.681 MB / 1.353 GB, free: 89.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005434/1.136, allocations: 4.312 MB / 1.357 GB, free: 85.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.136, allocations: 0 / 1.357 GB, free: 85.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/1.14, allocations: 2.687 MB / 1.359 GB, free: 82.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/1.143, allocations: 0.7763 MB / 1.36 GB, free: 82.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.174, allocations: 27 MB / 1.386 GB, free: 54.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.177, allocations: 3.569 MB / 1.39 GB, free: 50.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001098/1.178, allocations: 467.9 kB / 1.39 GB, free: 49.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.18, allocations: 1.784 MB / 1.392 GB, free: 48.2 MB / 1.014 GB Notification: Performance of SimCode: time 8.42e-07/1.18, allocations: 0 / 1.392 GB, free: 48.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.284, allocations: 73.91 MB / 1.464 GB, free: 6.887 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.3, allocations: 6.25 kB / 1.464 GB, free: 6.883 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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