Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001461/0.001461, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001512/0.001512, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.797/2.797, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.814e-05, allocations: 5.375 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01131/0.01135, allocations: 5.83 MB / 0.9871 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00742/0.01877, allocations: 3.086 MB / 0.9901 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.01926, allocations: 39.62 kB / 0.9902 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.02295, allocations: 0.9339 MB / 0.9911 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.02473, allocations: 0.497 MB / 0.9916 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.0266, allocations: 494.4 kB / 0.992 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.02854, allocations: 1.116 MB / 0.9931 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.02967, allocations: 0.51 MB / 0.9936 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.03088, allocations: 0.6117 MB / 0.9942 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.03197, allocations: 426.8 kB / 0.9946 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.03215, allocations: 60 kB / 0.9947 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.03357, allocations: 450.8 kB / 0.9951 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.03409, allocations: 307.1 kB / 0.9954 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.03464, allocations: 267.3 kB / 0.9957 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.0369, allocations: 1.207 MB / 0.9969 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.03691, allocations: 0 / 0.9969 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.595e-06/0.03691, allocations: 0 / 0.9969 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.03693, allocations: 4 kB / 0.9969 GB, free: 12.11 MB / 0.9512 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.002109/0.03904, allocations: 0.9869 MB / 0.9978 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.03908, allocations: 12.03 kB / 0.9978 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.0406, allocations: 236.2 kB / 0.9981 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.04149, allocations: 0.5158 MB / 0.9986 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.04153, allocations: 49.67 kB / 0.9986 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.04164, allocations: 64.36 kB / 0.9987 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.04317, allocations: 1.127 MB / 0.9998 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.0432, allocations: 12.08 kB / 0.9998 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.04328, allocations: 28.36 kB / 0.9998 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.04338, allocations: 77.2 kB / 0.9999 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.04443, allocations: 0.6918 MB / 1.001 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.04898, allocations: 4.382 MB / 1.005 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/0.04975, allocations: 406.3 kB / 1.005 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.0506, allocations: 396.5 kB / 1.006 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.05063, allocations: 4 kB / 1.006 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.05067, allocations: 38.56 kB / 1.006 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.05067, allocations: 0 / 1.006 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.004424/0.0551, allocations: 1.722 MB / 1.007 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.05515, allocations: 59.34 kB / 1.007 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.05561, allocations: 437.7 kB / 1.008 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.05565, allocations: 29.7 kB / 1.008 GB, free: 472 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.05594, allocations: 400 kB / 1.008 GB, free: 64 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.0561, allocations: 158.8 kB / 1.008 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.05627, allocations: 114.2 kB / 1.008 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.05644, allocations: 358.8 kB / 1.009 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.05681, allocations: 249.2 kB / 1.009 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.05736, allocations: 461 kB / 1.009 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.05835, allocations: 0.7481 MB / 1.01 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.05836, allocations: 0 / 1.01 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001987/0.06034, allocations: 1.046 MB / 1.011 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.06037, allocations: 8.875 kB / 1.011 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.06038, allocations: 8 kB / 1.011 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.06145, allocations: 319.1 kB / 1.012 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.06178, allocations: 107.8 kB / 1.012 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007493/0.06928, allocations: 6.961 MB / 1.018 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.06973, allocations: 32.3 kB / 1.018 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.06978, allocations: 24 kB / 1.019 GB, free: 4.852 MB / 0.9669 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.0003955/0.07017, allocations: 253.5 kB / 1.019 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.07026, allocations: 55.67 kB / 1.019 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.07208, allocations: 0.8922 MB / 1.02 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.07208, allocations: 7.938 kB / 1.02 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.07209, allocations: 4 kB / 1.02 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.0721, allocations: 3.938 kB / 1.02 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.0748, allocations: 1.518 MB / 1.021 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.0748, allocations: 4 kB / 1.021 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.07497, allocations: 44.16 kB / 1.021 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009577/0.07593, allocations: 311.1 kB / 1.022 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.07596, allocations: 12 kB / 1.022 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/0.08326, allocations: 6.974 MB / 1.028 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.08327, allocations: 3.938 kB / 1.028 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.08501, allocations: 0.9765 MB / 1.029 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.08525, allocations: 107.5 kB / 1.029 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.08531, allocations: 8 kB / 1.029 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.08559, allocations: 23.97 kB / 1.029 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.0857, allocations: 39.92 kB / 1.029 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.08573, allocations: 12 kB / 1.029 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003432/0.08607, allocations: 282.9 kB / 1.03 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.08607, allocations: 3.938 kB / 1.03 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008422/0.08691, allocations: 196 kB / 1.03 GB, free: 8.586 MB / 0.9825 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.000196/0.08711, allocations: 111.7 kB / 1.03 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.08903, allocations: 1.16 MB / 1.031 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.08904, allocations: 0 / 1.031 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.09032, allocations: 0.8424 MB / 1.032 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.09132, allocations: 200.1 kB / 1.032 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.09354, allocations: 1.217 MB / 1.033 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.09403, allocations: 394.7 kB / 1.034 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.09431, allocations: 101 kB / 1.034 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.0944, allocations: 36.5 kB / 1.034 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/0.0944, allocations: 0 / 1.034 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of Templates: time 0.01978/0.1142, allocations: 10.36 MB / 1.044 GB, free: 10.23 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.354586232453585]