Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00194/0.00194, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.624/2.624, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 71.89 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6911, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01226/0.7034, allocations: 9.992 MB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005552/0.709, allocations: 3.056 MB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.7102, allocations: 31.81 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.7122, allocations: 0.6264 MB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.7139, allocations: 0.6575 MB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.7155, allocations: 0.5884 MB / 1.031 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004051/0.7196, allocations: 4.068 MB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.7236, allocations: 2.816 MB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.7253, allocations: 0.9537 MB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.7274, allocations: 1.437 MB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.7276, allocations: 148 kB / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.7287, allocations: 491.3 kB / 1.041 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009008/0.7296, allocations: 0.9199 MB / 1.042 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.7306, allocations: 0.9372 MB / 1.043 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.734, allocations: 3.35 MB / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.734, allocations: 0 / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.734, allocations: 0 / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.92e-05/0.7341, allocations: 0 / 1.046 GB, free: 4.609 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00431/0.7384, allocations: 1.951 MB / 1.048 GB, free: 2.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7384, allocations: 15.97 kB / 1.048 GB, free: 2.586 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/0.7439, allocations: 0.8806 MB / 1.049 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.7459, allocations: 1.118 MB / 1.05 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.746, allocations: 107.3 kB / 1.05 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.7462, allocations: 144.3 kB / 1.05 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/0.7511, allocations: 3.017 MB / 1.053 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.7512, allocations: 7.938 kB / 1.053 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.7514, allocations: 67.97 kB / 1.053 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.7516, allocations: 179 kB / 1.053 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.7557, allocations: 2.6 MB / 1.056 GB, free: 10.32 MB / 0.8106 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.01585/0.7716, allocations: 13.57 MB / 1.069 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.7735, allocations: 1.287 MB / 1.07 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.7749, allocations: 1.056 MB / 1.071 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.775, allocations: 8.656 kB / 1.071 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.775, allocations: 43.22 kB / 1.071 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.775, allocations: 0 / 1.071 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.0674/0.8424, allocations: 19.38 MB / 1.09 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.8425, allocations: 68.72 kB / 1.09 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.8439, allocations: 0.9183 MB / 1.091 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.8441, allocations: 53.64 kB / 1.091 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.8446, allocations: 0.7244 MB / 1.092 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/0.8451, allocations: 492.9 kB / 1.093 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.8457, allocations: 295.4 kB / 1.093 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8459, allocations: 353.9 kB / 1.093 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.8478, allocations: 1.335 MB / 1.094 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.8499, allocations: 1.662 MB / 1.096 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/0.8538, allocations: 3.08 MB / 1.099 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.8539, allocations: 4 kB / 1.099 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01151/0.8654, allocations: 5.638 MB / 1.105 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.8654, allocations: 8 kB / 1.105 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.8655, allocations: 11.94 kB / 1.105 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008977/0.8745, allocations: 2.731 MB / 1.107 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.8753, allocations: 187.7 kB / 1.107 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03448/0.9098, allocations: 23.35 MB / 1.13 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.9115, allocations: 95.95 kB / 1.13 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.9119, allocations: 56 kB / 1.13 GB, free: 11.8 MB / 0.8887 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.001626/0.9135, allocations: 0.7321 MB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.9139, allocations: 118.6 kB / 1.131 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.9256, allocations: 5.392 MB / 1.136 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.9256, allocations: 16 kB / 1.136 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.326e-05/0.9257, allocations: 16 kB / 1.137 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.9257, allocations: 7.969 kB / 1.137 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.9438, allocations: 8.641 MB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/0.9439, allocations: 4 kB / 1.145 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.9445, allocations: 111.9 kB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008955/0.9535, allocations: 2.554 MB / 1.148 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.9537, allocations: 27.94 kB / 1.148 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03225/0.986, allocations: 20.89 MB / 1.168 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.986, allocations: 4 kB / 1.168 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.9972, allocations: 5.134 MB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.9985, allocations: 483.5 kB / 1.173 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/0.9989, allocations: 28 kB / 1.173 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1, allocations: 76.28 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006425/1.001, allocations: 125 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.001, allocations: 36 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00107/1.002, allocations: 0.6395 MB / 1.174 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 4 kB / 1.174 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003536/1.006, allocations: 0.7228 MB / 1.175 GB, free: 13.24 MB / 0.9356 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.0004053/1.006, allocations: 139 kB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007149/1.013, allocations: 4.141 MB / 1.179 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.013, allocations: 0 / 1.179 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004994/1.018, allocations: 2.674 MB / 1.182 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.02, allocations: 213.4 kB / 1.182 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/1.027, allocations: 4.675 MB / 1.187 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.028, allocations: 1.707 MB / 1.188 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009079/1.029, allocations: 325.5 kB / 1.189 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/1.03, allocations: 59.44 kB / 1.189 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/1.03, allocations: 0 / 1.189 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.05981/1.089, allocations: 38.17 MB / 1.226 GB, free: 9.082 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches