Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.00115/0.00115, 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.001237/0.001237, allocations: 194.1 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.614/2.614, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5732, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02551/0.5988, allocations: 22.6 MB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.6097, allocations: 6.225 MB / 1.046 GB, free: 5.555 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.6117, allocations: 95.5 kB / 1.046 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.6158, allocations: 1.539 MB / 1.047 GB, free: 3.914 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.6195, allocations: 1.618 MB / 1.049 GB, free: 2.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.6228, allocations: 1.358 MB / 1.05 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006067/0.6288, allocations: 5.943 MB / 1.056 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007496/0.6364, allocations: 6.094 MB / 1.062 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.6395, allocations: 2.407 MB / 1.064 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.6433, allocations: 2.862 MB / 1.067 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.6443, allocations: 456 kB / 1.067 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.6468, allocations: 1.104 MB / 1.068 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.6491, allocations: 2.027 MB / 1.07 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.6519, allocations: 2.171 MB / 1.073 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006601/0.6585, allocations: 7.237 MB / 1.08 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6586, allocations: 4 kB / 1.08 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6586, allocations: 0 / 1.08 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001533/0.6587, allocations: 0 / 1.08 GB, free: 2.488 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00866/0.6674, allocations: 3.82 MB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.6675, allocations: 12.03 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000802/0.6683, allocations: 0.4937 MB / 1.084 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00621/0.6745, allocations: 1.214 MB / 1.085 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.6784, allocations: 2.215 MB / 1.087 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.6786, allocations: 246.4 kB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/0.6791, allocations: 315.9 kB / 1.088 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008925/0.688, allocations: 6.216 MB / 1.094 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/0.6881, allocations: 15.84 kB / 1.094 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.6885, allocations: 140 kB / 1.094 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004453/0.6889, allocations: 410.3 kB / 1.094 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007007/0.6959, allocations: 4.658 MB / 1.099 GB, free: 14.35 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02934/0.7253, allocations: 29.14 MB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7273, allocations: 1.42 MB / 1.129 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.7291, allocations: 1.491 MB / 1.13 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.64e-05/0.7292, allocations: 12.91 kB / 1.13 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.7293, allocations: 51.5 kB / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/0.7293, allocations: 7.938 kB / 1.13 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1507/0.88, allocations: 37.22 MB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.8801, allocations: 81.28 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.8819, allocations: 1.415 MB / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.8822, allocations: 57.7 kB / 1.168 GB, free: 4.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/0.8831, allocations: 1.535 MB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/0.8837, allocations: 0.6161 MB / 1.17 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006924/0.8844, allocations: 383.3 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.8845, allocations: 301.1 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.8868, allocations: 1.784 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.8896, allocations: 2.35 MB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005326/0.8949, allocations: 4.383 MB / 1.179 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.8949, allocations: 7.938 kB / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01841/0.9133, allocations: 8.563 MB / 1.188 GB, free: 144 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.9134, allocations: 13 kB / 1.188 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.9134, allocations: 20 kB / 1.188 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01542/0.9289, allocations: 4.664 MB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.9301, allocations: 303.5 kB / 1.192 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05523/0.9854, allocations: 32.62 MB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.9885, allocations: 147.8 kB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.9888, allocations: 91.94 kB / 1.225 GB, free: 9.43 MB / 0.9825 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002962/0.9918, allocations: 1.336 MB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/0.9923, allocations: 193.7 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.011, allocations: 8.441 MB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/1.011, allocations: 16 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.378e-05/1.011, allocations: 27.94 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/1.011, allocations: 11.95 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.036, allocations: 12.84 MB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.036, allocations: 8 kB / 1.247 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/1.037, allocations: 163.7 kB / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4253/1.462, allocations: 4.512 MB / 1.251 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.463, allocations: 38.64 kB / 1.251 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0451/1.508, allocations: 32.22 MB / 1.283 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.508, allocations: 14.44 kB / 1.283 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.525, allocations: 8.243 MB / 1.291 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.526, allocations: 0.6145 MB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/1.527, allocations: 46.36 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.528, allocations: 138.2 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007755/1.529, allocations: 172.1 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.529, allocations: 53.09 kB / 1.292 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001003/1.53, allocations: 0.9575 MB / 1.293 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.53, allocations: 0 / 1.293 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002622/1.533, allocations: 1.117 MB / 1.294 GB, free: 194 MB / 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01467/1.547, allocations: 8.832 MB / 1.303 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.562, allocations: 7.063 MB / 1.31 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.562, allocations: 0 / 1.31 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00878/1.571, allocations: 4.357 MB / 1.314 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.573, allocations: 0.5295 MB / 1.314 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04798/1.621, allocations: 35.22 MB / 1.349 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/1.624, allocations: 2.723 MB / 1.351 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009658/1.625, allocations: 384.6 kB / 1.352 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009633/1.625, allocations: 1.218 MB / 1.353 GB, free: 135 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.626, allocations: 0 / 1.353 GB, free: 135 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.731, allocations: 82.84 MB / 1.434 GB, free: 52.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.88, allocations: 4 kB / 1.434 GB, free: 52.66 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_ACLineMatrix_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches