Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001031/0.001031, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002572, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002441, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9035/0.9035, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09355/0.9971, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.387/2.387, allocations: 447.1 MB / 0.675 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2367/2.624, allocations: 146 MB / 0.8176 GB, free: 3.781 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8189 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.879e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.008591/0.00861, allocations: 12.01 MB / 0.8307 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005996/0.01461, allocations: 3.834 MB / 0.8344 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.01597, allocations: 111.2 kB / 0.8345 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.01703, allocations: 0.5276 MB / 0.835 GB, free: 1.887 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.019, allocations: 1.32 MB / 0.8363 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.02054, allocations: 1.018 MB / 0.8373 GB, free: 15.54 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004296/0.02484, allocations: 5.573 MB / 0.8428 GB, free: 9.949 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.02776, allocations: 3.205 MB / 0.8459 GB, free: 6.656 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.03147, allocations: 3.381 MB / 0.8492 GB, free: 3.27 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.03452, allocations: 2.65 MB / 0.8518 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006146/0.03513, allocations: 439.9 kB / 0.8522 GB, free: 188 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009964/0.03613, allocations: 0.5114 MB / 0.8527 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.03736, allocations: 1.719 MB / 0.8544 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.03848, allocations: 1.139 MB / 0.8555 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.04088, allocations: 3.214 MB / 0.8586 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.04089, allocations: 0 / 0.8586 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/0.04089, allocations: 4 kB / 0.8586 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.011e-05/0.04095, allocations: 0 / 0.8586 GB, free: 9.582 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003477/0.04443, allocations: 3.937 MB / 0.8625 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.04446, allocations: 8.031 kB / 0.8625 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.04622, allocations: 0.8988 MB / 0.8634 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.04782, allocations: 1.558 MB / 0.8649 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/0.04792, allocations: 226.3 kB / 0.8651 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.04818, allocations: 296.3 kB / 0.8654 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.05065, allocations: 2.869 MB / 0.8682 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.0507, allocations: 12.08 kB / 0.8682 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.05088, allocations: 139.9 kB / 0.8683 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.05108, allocations: 205.8 kB / 0.8685 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.05213, allocations: 0.7811 MB / 0.8693 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007265/0.05939, allocations: 10.44 MB / 0.8795 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.05991, allocations: 0.5392 MB / 0.88 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.06026, allocations: 339.6 kB / 0.8803 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.06032, allocations: 21 kB / 0.8803 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.06034, allocations: 43.56 kB / 0.8804 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 3.166e-06/0.06034, allocations: 0 / 0.8804 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.00724/0.06758, allocations: 3.978 MB / 0.8843 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.06761, allocations: 68.41 kB / 0.8843 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.06815, allocations: 0.892 MB / 0.8852 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.0682, allocations: 41.7 kB / 0.8852 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.06861, allocations: 1.199 MB / 0.8864 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.06879, allocations: 400.5 kB / 0.8868 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.069, allocations: 239.4 kB / 0.887 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.06908, allocations: 365.8 kB / 0.8874 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.06927, allocations: 151.9 kB / 0.8875 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.06961, allocations: 0.5487 MB / 0.8881 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.07026, allocations: 0.8788 MB / 0.8889 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.07027, allocations: 4 kB / 0.8889 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001307/0.07158, allocations: 1.154 MB / 0.89 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.0716, allocations: 12 kB / 0.8901 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.07161, allocations: 12 kB / 0.8901 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.07277, allocations: 0.6051 MB / 0.8907 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.07323, allocations: 251.6 kB / 0.8909 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/0.07704, allocations: 4.601 MB / 0.8954 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.07744, allocations: 39.94 kB / 0.8954 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.0775, allocations: 51.98 kB / 0.8955 GB, free: 2.449 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004618/0.07796, allocations: 200.2 kB / 0.8957 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.07809, allocations: 123.9 kB / 0.8958 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.07931, allocations: 0.9842 MB / 0.8968 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.07931, allocations: 12 kB / 0.8968 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.07932, allocations: 8 kB / 0.8968 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.07933, allocations: 3.984 kB / 0.8968 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.08195, allocations: 2.19 MB / 0.8989 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.08196, allocations: 4 kB / 0.8989 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.08224, allocations: 119.9 kB / 0.899 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.08249, allocations: 218.9 kB / 0.8992 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.08355, allocations: 0.5728 MB / 0.8998 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.08359, allocations: 20 kB / 0.8998 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.08723, allocations: 4.6 MB / 0.9043 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.08724, allocations: 4 kB / 0.9043 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.08842, allocations: 1.131 MB / 0.9054 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.08851, allocations: 28 kB / 0.9054 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.08877, allocations: 27.98 kB / 0.9055 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.08891, allocations: 92.77 kB / 0.9056 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.08895, allocations: 31.92 kB / 0.9056 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002807/0.08923, allocations: 433.9 kB / 0.906 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.08923, allocations: 0 / 0.906 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001072/0.0903, allocations: 0.6055 MB / 0.9066 GB, free: 6.688 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.09045, allocations: 112.2 kB / 0.9067 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.09171, allocations: 1.285 MB / 0.908 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.846e-05/0.09175, allocations: 32.42 kB / 0.908 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.09259, allocations: 0.9701 MB / 0.9089 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.0945, allocations: 4.318 MB / 0.9132 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.112, allocations: 4.798 MB / 0.9178 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.1127, allocations: 0.7541 MB / 0.9186 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.1132, allocations: 172.6 kB / 0.9187 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.1138, allocations: 387.1 kB / 0.9191 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/0.1138, allocations: 0 / 0.9191 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of Templates: time 0.0342/0.148, allocations: 30.21 MB / 0.9486 GB, free: 11.21 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.528887469321489]