Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001666/0.001666, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001833/0.001833, allocations: 163.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.684/2.684, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.889e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008239/0.008268, allocations: 5.818 MB / 0.9567 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005646/0.01391, allocations: 3.086 MB / 0.9597 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.01447, allocations: 43.56 kB / 0.9597 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.01725, allocations: 0.9292 MB / 0.9606 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.01859, allocations: 0.5009 MB / 0.9611 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.01993, allocations: 494.5 kB / 0.9616 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.02156, allocations: 1.124 MB / 0.9627 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/0.02251, allocations: 0.5099 MB / 0.9632 GB, free: 15 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.02361, allocations: 0.6 MB / 0.9638 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/0.02426, allocations: 434.8 kB / 0.9642 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.02436, allocations: 60 kB / 0.9642 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008362/0.0252, allocations: 450.7 kB / 0.9647 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.02552, allocations: 307.1 kB / 0.965 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.02586, allocations: 279.3 kB / 0.9652 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.02727, allocations: 1.199 MB / 0.9664 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.02727, allocations: 4 kB / 0.9664 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02727, allocations: 0 / 0.9664 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.02729, allocations: 0 / 0.9664 GB, free: 11.69 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00164/0.02893, allocations: 0.9908 MB / 0.9674 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.02896, allocations: 12.03 kB / 0.9674 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.03047, allocations: 228.2 kB / 0.9676 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/0.03136, allocations: 0.508 MB / 0.9681 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.03141, allocations: 49.67 kB / 0.9681 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.03151, allocations: 64.34 kB / 0.9682 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.03306, allocations: 1.134 MB / 0.9693 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.0331, allocations: 8.125 kB / 0.9693 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.03317, allocations: 40.34 kB / 0.9694 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/0.03326, allocations: 69.22 kB / 0.9694 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.03433, allocations: 0.6879 MB / 0.9701 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004632/0.03896, allocations: 4.394 MB / 0.9744 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.03974, allocations: 402.1 kB / 0.9748 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008613/0.0406, allocations: 393.3 kB / 0.9751 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.04064, allocations: 11.77 kB / 0.9752 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.04067, allocations: 38.56 kB / 0.9752 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.04067, allocations: 0 / 0.9752 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.004325/0.045, allocations: 1.718 MB / 0.9769 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.04504, allocations: 55.41 kB / 0.9769 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.0455, allocations: 441.7 kB / 0.9773 GB, free: 72 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.04554, allocations: 29.7 kB / 0.9774 GB, free: 36 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.04584, allocations: 404 kB / 0.9778 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.04597, allocations: 150.7 kB / 0.9779 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.04613, allocations: 110.2 kB / 0.978 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.04631, allocations: 358.8 kB / 0.9783 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.04669, allocations: 245.2 kB / 0.9786 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.04723, allocations: 457 kB / 0.979 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.04824, allocations: 0.7558 MB / 0.9798 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.04824, allocations: 4 kB / 0.9798 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001874/0.05012, allocations: 1.043 MB / 0.9808 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.05014, allocations: 11.94 kB / 0.9808 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.05015, allocations: 8 kB / 0.9808 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.05122, allocations: 327.3 kB / 0.9811 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.05154, allocations: 99.75 kB / 0.9812 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.05912, allocations: 6.964 MB / 0.988 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.05952, allocations: 32.02 kB / 0.988 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.05957, allocations: 28 kB / 0.9881 GB, free: 4.43 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.05995, allocations: 245.5 kB / 0.9883 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.06005, allocations: 59.62 kB / 0.9884 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.06181, allocations: 0.892 MB / 0.9892 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.06181, allocations: 4 kB / 0.9892 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.06182, allocations: 4 kB / 0.9892 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.06183, allocations: 15.86 kB / 0.9892 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.06442, allocations: 1.506 MB / 0.9907 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.06443, allocations: 7.984 kB / 0.9907 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.0646, allocations: 39.91 kB / 0.9908 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009554/0.06556, allocations: 319.4 kB / 0.9911 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.06559, allocations: 8 kB / 0.9911 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007529/0.07312, allocations: 6.961 MB / 0.9979 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.07312, allocations: 4.031 kB / 0.9979 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.07495, allocations: 0.9917 MB / 0.9988 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.07517, allocations: 99.56 kB / 0.9989 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.07523, allocations: 8 kB / 0.9989 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.0755, allocations: 19.97 kB / 0.999 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.07562, allocations: 48.14 kB / 0.999 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.07564, allocations: 8 kB / 0.999 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003536/0.076, allocations: 278.9 kB / 0.9993 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.076, allocations: 3.938 kB / 0.9993 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007913/0.07679, allocations: 204 kB / 0.9995 GB, free: 8.168 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.07695, allocations: 107.2 kB / 0.9996 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.07893, allocations: 1.16 MB / 1.001 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.07893, allocations: 0 / 1.001 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.08027, allocations: 0.8424 MB / 1.002 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.08129, allocations: 197.3 kB / 1.002 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.08341, allocations: 1.224 MB / 1.003 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.08386, allocations: 398.7 kB / 1.003 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.08412, allocations: 101 kB / 1.003 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.0842, allocations: 32.5 kB / 1.003 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.0842, allocations: 0 / 1.003 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of Templates: time 0.01871/0.1029, allocations: 10.36 MB / 1.014 GB, free: 9.812 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: 8.13957041874528]