Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001577/0.001577, 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.00184/0.00184, allocations: 194.2 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.341/2.341, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 55.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5838, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009405/0.5932, allocations: 10.02 MB / 0.9595 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004795/0.598, allocations: 3.04 MB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.5988, allocations: 38.38 kB / 0.9625 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.6007, allocations: 0.6696 MB / 0.9632 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.6023, allocations: 0.7061 MB / 0.9639 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.6038, allocations: 0.6271 MB / 0.9645 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.6069, allocations: 2.744 MB / 0.9672 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.6099, allocations: 2.556 MB / 0.9697 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.6119, allocations: 1.118 MB / 0.9708 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.6138, allocations: 1.383 MB / 0.9721 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.6141, allocations: 216.8 kB / 0.9723 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.6152, allocations: 494.4 kB / 0.9728 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009228/0.6161, allocations: 0.9793 MB / 0.9737 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.6172, allocations: 1.019 MB / 0.9747 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.6204, allocations: 3.384 MB / 0.978 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6204, allocations: 0 / 0.978 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6204, allocations: 0 / 0.978 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.666e-05/0.6204, allocations: 4 kB / 0.978 GB, free: 4.73 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003496/0.6239, allocations: 1.944 MB / 0.9799 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.624, allocations: 15.97 kB / 0.98 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003105/0.6243, allocations: 248.7 kB / 0.9802 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/0.6301, allocations: 0.8844 MB / 0.9811 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.6324, allocations: 1.118 MB / 0.9821 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6325, allocations: 111.3 kB / 0.9823 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000522/0.633, allocations: 148.3 kB / 0.9824 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.6387, allocations: 3.013 MB / 0.9853 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.6388, allocations: 3.938 kB / 0.9853 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.6392, allocations: 63.97 kB / 0.9854 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/0.6394, allocations: 179 kB / 0.9856 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.644, allocations: 2.611 MB / 0.9881 GB, free: 10.18 MB / 0.7481 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.01749/0.6615, allocations: 13.55 MB / 1.001 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.6636, allocations: 1.292 MB / 1.003 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.6652, allocations: 1.05 MB / 1.004 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.376e-05/0.6653, allocations: 8.656 kB / 1.004 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.6653, allocations: 51.22 kB / 1.004 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/0.6653, allocations: 0 / 1.004 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07624/0.7416, allocations: 19.39 MB / 1.023 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7417, allocations: 68.72 kB / 1.023 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.743, allocations: 0.9222 MB / 1.024 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.7432, allocations: 45.7 kB / 1.024 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.7437, allocations: 0.7283 MB / 1.024 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.7442, allocations: 489 kB / 1.025 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.7448, allocations: 291.5 kB / 1.025 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7449, allocations: 353.9 kB / 1.025 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.7469, allocations: 1.335 MB / 1.027 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.749, allocations: 1.662 MB / 1.028 GB, free: 15.53 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.7533, allocations: 3.088 MB / 1.031 GB, free: 12.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.7533, allocations: 4 kB / 1.031 GB, free: 12.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01225/0.7656, allocations: 5.632 MB / 1.037 GB, free: 6.656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.7656, allocations: 11.94 kB / 1.037 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.7657, allocations: 15.94 kB / 1.037 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008967/0.7746, allocations: 2.736 MB / 1.04 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.7755, allocations: 195.7 kB / 1.04 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/0.8114, allocations: 25.73 MB / 1.065 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.8129, allocations: 91.95 kB / 1.065 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.8132, allocations: 56 kB / 1.065 GB, free: 9.254 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001142/0.8143, allocations: 0.7393 MB / 1.066 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.8146, allocations: 114.6 kB / 1.066 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.826, allocations: 5.392 MB / 1.071 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.8261, allocations: 12 kB / 1.071 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.453e-05/0.8261, allocations: 24 kB / 1.071 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.8261, allocations: 7.969 kB / 1.071 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.8431, allocations: 8.64 MB / 1.08 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.8432, allocations: 7.984 kB / 1.08 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.8436, allocations: 115.8 kB / 1.08 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008641/0.8523, allocations: 2.564 MB / 1.082 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.8524, allocations: 32 kB / 1.082 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04999/0.9024, allocations: 23.01 MB / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9025, allocations: 8.062 kB / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.9136, allocations: 5.126 MB / 1.11 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008957/0.9145, allocations: 479.6 kB / 1.11 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.9148, allocations: 24 kB / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.9158, allocations: 75.91 kB / 1.11 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/0.9164, allocations: 132.9 kB / 1.11 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.9165, allocations: 36 kB / 1.11 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008515/0.9173, allocations: 0.6395 MB / 1.111 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9173, allocations: 0 / 1.111 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002248/0.9196, allocations: 0.7227 MB / 1.112 GB, free: 8.516 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/0.9306, allocations: 5.71 MB / 1.117 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007946/0.9386, allocations: 4.731 MB / 1.122 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9386, allocations: 4.188 kB / 1.122 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005213/0.9438, allocations: 2.654 MB / 1.125 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.9452, allocations: 222.2 kB / 1.125 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/0.9833, allocations: 21.84 MB / 1.146 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.985, allocations: 1.7 MB / 1.148 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008108/0.9859, allocations: 321.5 kB / 1.148 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/0.9866, allocations: 0.5344 MB / 1.149 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of SimCode: time 7.91e-07/0.9866, allocations: 0 / 1.149 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09343/1.08, allocations: 51.38 MB / 1.199 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/11, allocations: 6.875 kB / 1.199 GB, free: 14.93 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches