Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.00136/0.00136, allocations: 108 kB / 15.61 MB, free: 152 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.001401/0.001401, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.66/2.66, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 63.91 kB / 0.8694 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.756, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01686/0.7729, allocations: 14.78 MB / 1.032 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.7889, allocations: 10.34 MB / 1.042 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.7909, allocations: 59.62 kB / 1.042 GB, free: 9.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.7956, allocations: 1.691 MB / 1.044 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.8015, allocations: 1.825 MB / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.8039, allocations: 0.7445 MB / 1.046 GB, free: 5.008 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004658/0.8086, allocations: 2.749 MB / 1.049 GB, free: 2.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.8111, allocations: 1.427 MB / 1.05 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.8135, allocations: 1.488 MB / 1.052 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.8155, allocations: 1.164 MB / 1.053 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005082/0.816, allocations: 164 kB / 1.053 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.8182, allocations: 0.7838 MB / 1.054 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000916/0.8192, allocations: 0.6154 MB / 1.054 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.8207, allocations: 0.9484 MB / 1.055 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.824, allocations: 2.737 MB / 1.058 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.824, allocations: 4 kB / 1.058 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8241, allocations: 4 kB / 1.058 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.903e-05/0.8241, allocations: 0 / 1.058 GB, free: 8.859 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004054/0.8282, allocations: 2.168 MB / 1.06 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8282, allocations: 8.031 kB / 1.06 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.8285, allocations: 194.4 kB / 1.06 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.8403, allocations: 2.108 MB / 1.062 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.8432, allocations: 1.221 MB / 1.064 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.8433, allocations: 86.69 kB / 1.064 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.8436, allocations: 115.9 kB / 1.064 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/0.8499, allocations: 2.674 MB / 1.066 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.85, allocations: 11.94 kB / 1.066 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.8502, allocations: 51.98 kB / 1.066 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006973/0.8509, allocations: 194.1 kB / 1.067 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007781/0.8587, allocations: 2.787 MB / 1.069 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.8745, allocations: 10.51 MB / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006952/0.8815, allocations: 2.34 MB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/0.8849, allocations: 1.272 MB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-05/0.885, allocations: 9 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.8851, allocations: 47.5 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 3.296e-06/0.8851, allocations: 0 / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06302/0.9481, allocations: 16.48 MB / 1.099 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.9482, allocations: 64.72 kB / 1.099 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.95, allocations: 1.18 MB / 1.1 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.9502, allocations: 49.7 kB / 1.101 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/0.9508, allocations: 0.7436 MB / 1.101 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/0.9514, allocations: 0.5159 MB / 1.102 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005733/0.952, allocations: 291.4 kB / 1.102 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9521, allocations: 305.1 kB / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.9557, allocations: 1.51 MB / 1.104 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.9595, allocations: 1.78 MB / 1.106 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007445/0.967, allocations: 3.369 MB / 1.109 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.967, allocations: 4 kB / 1.109 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01381/0.9808, allocations: 5.265 MB / 1.114 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.9809, allocations: 14.19 kB / 1.114 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.9809, allocations: 8 kB / 1.114 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007051/0.9879, allocations: 1.893 MB / 1.116 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.99, allocations: 423.2 kB / 1.116 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/1.02, allocations: 24.15 MB / 1.14 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.022, allocations: 307.6 kB / 1.14 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/1.023, allocations: 68 kB / 1.14 GB, free: 2.207 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.024, allocations: 475.4 kB / 1.141 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005102/1.024, allocations: 173.9 kB / 1.141 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.038, allocations: 5.32 MB / 1.146 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.038, allocations: 12 kB / 1.146 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-05/1.038, allocations: 23.98 kB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.038, allocations: 7.922 kB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/1.057, allocations: 7.422 MB / 1.153 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.057, allocations: 4 kB / 1.153 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.058, allocations: 355.7 kB / 1.154 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006754/1.065, allocations: 1.716 MB / 1.155 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.066, allocations: 47.91 kB / 1.155 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03071/1.096, allocations: 23.33 MB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.096, allocations: 4.031 kB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.11, allocations: 4.889 MB / 1.183 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.112, allocations: 494.8 kB / 1.183 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/1.112, allocations: 32 kB / 1.183 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.115, allocations: 311.5 kB / 1.184 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/1.115, allocations: 157.5 kB / 1.184 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.116, allocations: 51.97 kB / 1.184 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001346/1.117, allocations: 0.7899 MB / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.117, allocations: 0 / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002503/1.119, allocations: 0.6641 MB / 1.185 GB, free: 2.551 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01315/1.133, allocations: 5.486 MB / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.145, allocations: 5.425 MB / 1.196 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.145, allocations: 0 / 1.196 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007619/1.153, allocations: 3.347 MB / 1.199 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/1.156, allocations: 0.5546 MB / 1.2 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05064/1.207, allocations: 22.98 MB / 1.222 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.208, allocations: 1.568 MB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001718/1.21, allocations: 394.4 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009594/1.211, allocations: 0.6554 MB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/1.211, allocations: 0 / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6324/1.843, allocations: 58.33 MB / 1.282 GB, free: 210 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/12.43, allocations: 9.656 kB / 1.282 GB, free: 210 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches