Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9142/0.9142, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.9517 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.852e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00764/0.007679, allocations: 9.484 MB / 0.961 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.01096, allocations: 3.006 MB / 0.9639 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002987/0.01126, allocations: 47.69 kB / 0.964 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.01222, allocations: 0.6904 MB / 0.9647 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008493/0.01307, allocations: 0.746 MB / 0.9654 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008113/0.01388, allocations: 0.6469 MB / 0.966 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.01578, allocations: 2.78 MB / 0.9687 GB, free: 388 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.01711, allocations: 1.371 MB / 0.9701 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.01857, allocations: 1.583 MB / 0.9716 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.02001, allocations: 1.36 MB / 0.973 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.02023, allocations: 220 kB / 0.9732 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.02083, allocations: 475.2 kB / 0.9736 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0006281/0.02146, allocations: 1.048 MB / 0.9746 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.02197, allocations: 0.7134 MB / 0.9753 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.02407, allocations: 3.491 MB / 0.9787 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.02408, allocations: 0 / 0.9787 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.02408, allocations: 0 / 0.9787 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.0241, allocations: 0 / 0.9787 GB, free: 6.07 MB / 0.8855 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.002003/0.0261, allocations: 1.901 MB / 0.9806 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.02614, allocations: 8.031 kB / 0.9806 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.02887, allocations: 0.9166 MB / 0.9815 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.03017, allocations: 1.124 MB / 0.9826 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.03023, allocations: 115.3 kB / 0.9827 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.0304, allocations: 148.3 kB / 0.9829 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.03324, allocations: 3.087 MB / 0.9859 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.03326, allocations: 4.188 kB / 0.9859 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.03339, allocations: 64.34 kB / 0.9859 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.03352, allocations: 182.9 kB / 0.9861 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.03604, allocations: 2.608 MB / 0.9887 GB, free: 11.73 MB / 0.9011 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.007493/0.04353, allocations: 9.034 MB / 0.9975 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.04473, allocations: 1.213 MB / 0.9987 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.04558, allocations: 0.9876 MB / 0.9996 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.04563, allocations: 8.656 kB / 0.9996 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.04565, allocations: 43.2 kB / 0.9997 GB, free: 208 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.04565, allocations: 3.938 kB / 0.9997 GB, free: 204 kB / 0.9011 GB Notification: Performance of matching and sorting (n=139): time 0.5391/0.5847, allocations: 18.88 MB / 1.018 GB, free: 71.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.5848, allocations: 66.75 kB / 1.018 GB, free: 71.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5859, allocations: 0.9042 MB / 1.019 GB, free: 70.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.5861, allocations: 49.33 kB / 1.019 GB, free: 70.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.5865, allocations: 0.7502 MB / 1.02 GB, free: 70.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.5868, allocations: 499.1 kB / 1.02 GB, free: 70.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.5872, allocations: 292.9 kB / 1.021 GB, free: 69.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.5873, allocations: 352.7 kB / 1.021 GB, free: 69.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.589, allocations: 1.334 MB / 1.022 GB, free: 69.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.5909, allocations: 1.658 MB / 1.024 GB, free: 68.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.5945, allocations: 3.09 MB / 1.027 GB, free: 66.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5945, allocations: 6.375 kB / 1.027 GB, free: 66.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00814/0.6027, allocations: 5.551 MB / 1.032 GB, free: 65.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.6027, allocations: 10.17 kB / 1.032 GB, free: 65.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.6027, allocations: 8.844 kB / 1.032 GB, free: 65.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006013/0.6088, allocations: 2.719 MB / 1.035 GB, free: 64.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.6092, allocations: 192 kB / 1.035 GB, free: 64.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.6371, allocations: 24.84 MB / 1.059 GB, free: 52.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6384, allocations: 101.8 kB / 1.06 GB, free: 52.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.6385, allocations: 54.75 kB / 1.06 GB, free: 52.07 MB / 0.9167 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.001224/0.6397, allocations: 0.7384 MB / 1.06 GB, free: 51.72 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.6399, allocations: 115.5 kB / 1.06 GB, free: 51.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007453/0.6473, allocations: 5.313 MB / 1.066 GB, free: 48.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.6473, allocations: 13.97 kB / 1.066 GB, free: 48.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.693e-05/0.6474, allocations: 22.58 kB / 1.066 GB, free: 48.76 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6474, allocations: 5.172 kB / 1.066 GB, free: 48.76 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.6579, allocations: 7.967 MB / 1.073 GB, free: 44.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.6579, allocations: 8.109 kB / 1.073 GB, free: 44.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6581, allocations: 124.7 kB / 1.074 GB, free: 44.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004406/0.6625, allocations: 2.578 MB / 1.076 GB, free: 42.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/0.6626, allocations: 27.78 kB / 1.076 GB, free: 42.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.6811, allocations: 23.31 MB / 1.099 GB, free: 21.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6811, allocations: 4 kB / 1.099 GB, free: 21.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006198/0.6873, allocations: 5.167 MB / 1.104 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/0.688, allocations: 423.1 kB / 1.104 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6881, allocations: 32.06 kB / 1.104 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.6886, allocations: 83.89 kB / 1.104 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005136/0.6891, allocations: 125 kB / 1.105 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.6892, allocations: 43.52 kB / 1.105 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005672/0.6897, allocations: 0.6239 MB / 1.105 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6897, allocations: 0 / 1.105 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002391/0.6921, allocations: 0.7227 MB / 1.106 GB, free: 13.77 MB / 0.9167 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.000235/0.6924, allocations: 137.6 kB / 1.106 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004197/0.6966, allocations: 4.084 MB / 1.11 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6966, allocations: 0 / 1.11 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.6991, allocations: 2.616 MB / 1.113 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.6999, allocations: 210 kB / 1.113 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.7046, allocations: 4.311 MB / 1.117 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/0.7055, allocations: 1.144 MB / 1.118 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.7056, allocations: 64.48 kB / 1.118 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/0.7056, allocations: 0 / 1.118 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.04734/0.753, allocations: 60.57 MB / 1.177 GB, free: 4.445 MB / 0.9792 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.246458333916962]