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.001775/0.001774, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001895/0.001895, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.477/1.477, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.597/2.597, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.00186, allocations: 72.3 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3137, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.013/0.3267, allocations: 10.01 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005792/0.3326, allocations: 3.048 MB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007724/0.3334, allocations: 35.88 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.3354, allocations: 0.689 MB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.3371, allocations: 0.6999 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3386, allocations: 0.6267 MB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003257/0.3419, allocations: 2.738 MB / 1.035 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003537/0.3455, allocations: 2.55 MB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002387/0.3479, allocations: 1.126 MB / 1.039 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.3501, allocations: 1.375 MB / 1.04 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003726/0.3504, allocations: 220 kB / 1.041 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.3516, allocations: 0.4914 MB / 1.041 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3526, allocations: 0.9785 MB / 1.042 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.3539, allocations: 1.015 MB / 1.043 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.3579, allocations: 3.389 MB / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3579, allocations: 0 / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3579, allocations: 0 / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.835e-05/0.358, allocations: 0 / 1.046 GB, free: 13.49 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004337/0.3623, allocations: 1.938 MB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3624, allocations: 12.92 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.3685, allocations: 0.8844 MB / 1.049 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.3711, allocations: 1.126 MB / 1.05 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.3713, allocations: 107.2 kB / 1.05 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/0.3718, allocations: 144.3 kB / 1.05 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.3775, allocations: 3.023 MB / 1.053 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.3776, allocations: 3.938 kB / 1.053 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.3778, allocations: 71.95 kB / 1.053 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/0.378, allocations: 183 kB / 1.054 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/0.3827, allocations: 2.604 MB / 1.056 GB, free: 3.199 MB / 0.8262 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.02052/0.4033, allocations: 13.56 MB / 1.069 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.4056, allocations: 1.3 MB / 1.071 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.4072, allocations: 1.047 MB / 1.072 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.4073, allocations: 8.656 kB / 1.072 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.4073, allocations: 39.22 kB / 1.072 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.4073, allocations: 0 / 1.072 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139): time 0.5785/0.9858, allocations: 19.37 MB / 1.091 GB, free: 57.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.9859, allocations: 70.23 kB / 1.091 GB, free: 57.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.9872, allocations: 0.9126 MB / 1.092 GB, free: 57.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.9874, allocations: 51.3 kB / 1.092 GB, free: 57.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.9878, allocations: 0.729 MB / 1.092 GB, free: 56.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.9882, allocations: 490.4 kB / 1.093 GB, free: 56.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/0.9888, allocations: 286.5 kB / 1.093 GB, free: 56.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.9889, allocations: 353.9 kB / 1.093 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.9908, allocations: 1.338 MB / 1.095 GB, free: 55.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.9929, allocations: 1.667 MB / 1.096 GB, free: 54.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/0.9972, allocations: 3.086 MB / 1.099 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.9973, allocations: 3.094 kB / 1.099 GB, free: 53.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01221/1.009, allocations: 5.647 MB / 1.105 GB, free: 51.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.01, allocations: 8.312 kB / 1.105 GB, free: 51.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.01, allocations: 12.88 kB / 1.105 GB, free: 51.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008687/1.018, allocations: 2.734 MB / 1.108 GB, free: 50.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/1.019, allocations: 192 kB / 1.108 GB, free: 50.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03145/1.051, allocations: 25.72 MB / 1.133 GB, free: 33.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.052, allocations: 101.1 kB / 1.133 GB, free: 33.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.053, allocations: 56.98 kB / 1.133 GB, free: 33.48 MB / 0.8419 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.001045/1.054, allocations: 0.7448 MB / 1.134 GB, free: 33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/1.054, allocations: 111.7 kB / 1.134 GB, free: 32.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009465/1.063, allocations: 5.387 MB / 1.139 GB, free: 27.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.063, allocations: 16 kB / 1.139 GB, free: 27.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-05/1.064, allocations: 19.94 kB / 1.139 GB, free: 27.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.064, allocations: 7.969 kB / 1.139 GB, free: 27.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/1.077, allocations: 8.646 MB / 1.148 GB, free: 19.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.077, allocations: 9 kB / 1.148 GB, free: 19.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/1.078, allocations: 119.8 kB / 1.148 GB, free: 18.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007571/1.085, allocations: 2.555 MB / 1.15 GB, free: 16.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/1.085, allocations: 28 kB / 1.15 GB, free: 16.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02933/1.115, allocations: 23.01 MB / 1.173 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.115, allocations: 4 kB / 1.173 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.127, allocations: 5.126 MB / 1.178 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.128, allocations: 479.6 kB / 1.178 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/1.128, allocations: 30.39 kB / 1.178 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.129, allocations: 79.95 kB / 1.178 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/1.13, allocations: 125.1 kB / 1.178 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.13, allocations: 39.94 kB / 1.178 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009337/1.131, allocations: 0.6434 MB / 1.179 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.131, allocations: 0 / 1.179 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002535/1.133, allocations: 0.7227 MB / 1.18 GB, free: 1.5 MB / 0.8575 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.0002871/1.134, allocations: 131.2 kB / 1.18 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008975/1.143, allocations: 4.745 MB / 1.185 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.143, allocations: 0 / 1.185 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005882/1.149, allocations: 2.662 MB / 1.187 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.15, allocations: 219.3 kB / 1.187 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/1.158, allocations: 4.205 MB / 1.191 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/1.159, allocations: 1.727 MB / 1.193 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/1.16, allocations: 63.44 kB / 1.193 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/1.16, allocations: 0 / 1.193 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of Templates: time 0.07302/1.233, allocations: 59.75 MB / 1.252 GB, free: 7.828 MB / 0.9356 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/jenkins1/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