Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001122/0.001122, 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.00117/0.00117, allocations: 193.7 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.362/1.362, 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 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.2 MB / 0.6647 GB, free: 388 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 64.05 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5899, allocations: 140.4 MB / 0.9497 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03113/0.6211, allocations: 30.75 MB / 0.9798 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.642, allocations: 13.61 MB / 0.993 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.6452, allocations: 143.2 kB / 0.9932 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008278/0.6536, allocations: 3.194 MB / 0.9963 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007624/0.6612, allocations: 2.663 MB / 0.9989 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005226/0.6665, allocations: 2.01 MB / 1.001 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009247/0.6757, allocations: 7.62 MB / 1.008 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.6862, allocations: 8.276 MB / 1.016 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/0.6913, allocations: 3.393 MB / 1.02 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.696, allocations: 3.395 MB / 1.023 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.6976, allocations: 0.5938 MB / 1.024 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.701, allocations: 1.494 MB / 1.025 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.7039, allocations: 2.37 MB / 1.027 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004493/0.7084, allocations: 2.886 MB / 1.03 GB, free: 15.21 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009426/0.7178, allocations: 9.391 MB / 1.039 GB, free: 5.801 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7178, allocations: 0 / 1.039 GB, free: 5.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7178, allocations: 0 / 1.039 GB, free: 5.801 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001931/0.718, allocations: 0 / 1.039 GB, free: 5.801 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009498/0.7275, allocations: 5.136 MB / 1.044 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7276, allocations: 12.03 kB / 1.044 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008114/0.7284, allocations: 0.6203 MB / 1.045 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/0.7339, allocations: 1.002 MB / 1.046 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.7388, allocations: 2.896 MB / 1.049 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.739, allocations: 316.8 kB / 1.049 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006469/0.7397, allocations: 419.8 kB / 1.05 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009699/0.7494, allocations: 6.791 MB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.7495, allocations: 19.78 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/0.75, allocations: 191.9 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008671/0.7508, allocations: 372 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007768/0.7586, allocations: 5.11 MB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.7872, allocations: 30.72 MB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.789, allocations: 1.401 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.7906, allocations: 1.328 MB / 1.094 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.7907, allocations: 13.31 kB / 1.094 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.7908, allocations: 55.88 kB / 1.094 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.457e-06/0.7908, allocations: 0 / 1.094 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08885/0.8797, allocations: 23.08 MB / 1.117 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8797, allocations: 69.41 kB / 1.117 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/0.8826, allocations: 2.062 MB / 1.119 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.8828, allocations: 57.7 kB / 1.119 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.8841, allocations: 2.01 MB / 1.121 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000551/0.8847, allocations: 0.6777 MB / 1.122 GB, free: 14 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007239/0.8854, allocations: 412.1 kB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.8855, allocations: 309.1 kB / 1.122 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.8875, allocations: 1.43 MB / 1.124 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.89, allocations: 2.006 MB / 1.126 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.8945, allocations: 3.704 MB / 1.129 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.8945, allocations: 4 kB / 1.129 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01149/0.906, allocations: 5.654 MB / 1.135 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.9061, allocations: 19.94 kB / 1.135 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.9061, allocations: 16 kB / 1.135 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006863/0.913, allocations: 2.099 MB / 1.137 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.9146, allocations: 383.3 kB / 1.137 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03822/0.9528, allocations: 38.44 MB / 1.175 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.9553, allocations: 131.8 kB / 1.175 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/0.9557, allocations: 92 kB / 1.175 GB, free: 4.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002398/0.9581, allocations: 1.504 MB / 1.177 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/0.9587, allocations: 280.6 kB / 1.177 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.9689, allocations: 5.219 MB / 1.182 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.9689, allocations: 20 kB / 1.182 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.986e-05/0.969, allocations: 16 kB / 1.182 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.969, allocations: 7.969 kB / 1.182 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.9871, allocations: 9.684 MB / 1.191 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.9871, allocations: 8.844 kB / 1.191 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/0.988, allocations: 215.6 kB / 1.192 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005907/0.994, allocations: 1.865 MB / 1.193 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.9942, allocations: 36 kB / 1.194 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03639/1.031, allocations: 37.47 MB / 1.23 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.031, allocations: 11.94 kB / 1.23 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009298/1.04, allocations: 4.901 MB / 1.235 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.041, allocations: 0.6186 MB / 1.236 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006065/1.042, allocations: 47.92 kB / 1.236 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.044, allocations: 123.8 kB / 1.236 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006038/1.044, allocations: 189.6 kB / 1.236 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.044, allocations: 56 kB / 1.236 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002152/1.047, allocations: 1.378 MB / 1.237 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.047, allocations: 11.88 kB / 1.237 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003389/1.05, allocations: 1.047 MB / 1.238 GB, free: 408 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009396/1.059, allocations: 5.536 MB / 1.244 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.071, allocations: 7.209 MB / 1.251 GB, free: 3.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.071, allocations: 4 kB / 1.251 GB, free: 3.242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.4209/1.492, allocations: 4.39 MB / 1.255 GB, free: 275.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/1.497, allocations: 0.9896 MB / 1.256 GB, free: 275.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/1.553, allocations: 34.11 MB / 1.289 GB, free: 259.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/1.556, allocations: 3.123 MB / 1.292 GB, free: 258.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002021/1.558, allocations: 0.5295 MB / 1.293 GB, free: 258.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.56, allocations: 1.67 MB / 1.294 GB, free: 256.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.613e-06/1.56, allocations: 0 / 1.294 GB, free: 256.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1767/1.737, allocations: 89.25 MB / 1.382 GB, free: 175.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.81, allocations: 9.422 kB / 1.382 GB, free: 175.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches