Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.002436/0.002436, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002729/0.002729, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 3.023/3.023, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.803e-05, allocations: 7.453 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01619/0.01622, allocations: 6.792 MB / 0.8174 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009163/0.02538, allocations: 3.097 MB / 0.8205 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.02611, allocations: 35.69 kB / 0.8205 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.03045, allocations: 0.9841 MB / 0.8215 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.03248, allocations: 0.5364 MB / 0.822 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.03411, allocations: 430.5 kB / 0.8224 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.03661, allocations: 1.259 MB / 0.8236 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.03803, allocations: 0.5372 MB / 0.8241 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.03974, allocations: 0.6591 MB / 0.8248 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.04105, allocations: 479.3 kB / 0.8252 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.0413, allocations: 64 kB / 0.8253 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.04245, allocations: 352.9 kB / 0.8256 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.04307, allocations: 335.1 kB / 0.826 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.04385, allocations: 307.3 kB / 0.8263 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.04663, allocations: 1.254 MB / 0.8275 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.04664, allocations: 4 kB / 0.8275 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.633e-06/0.04664, allocations: 0.875 kB / 0.8275 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.519e-05/0.04668, allocations: 0 / 0.8275 GB, free: 0.9805 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003925/0.05061, allocations: 1.254 MB / 0.8287 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.05065, allocations: 12.66 kB / 0.8287 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.05371, allocations: 337.5 kB / 0.829 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.05551, allocations: 0.5483 MB / 0.8296 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.05559, allocations: 46.55 kB / 0.8296 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.0558, allocations: 76.3 kB / 0.8297 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.05827, allocations: 1.155 MB / 0.8308 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.0583, allocations: 8.078 kB / 0.8308 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.05839, allocations: 32.36 kB / 0.8309 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.05857, allocations: 90.31 kB / 0.831 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.05949, allocations: 417.6 kB / 0.8313 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006473/0.06597, allocations: 5.906 MB / 0.8371 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.0668, allocations: 310.6 kB / 0.8374 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.06713, allocations: 150.2 kB / 0.8376 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.06717, allocations: 12.44 kB / 0.8376 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.06721, allocations: 45.88 kB / 0.8376 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.06722, allocations: 0.6875 kB / 0.8376 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.003457/0.07067, allocations: 1.142 MB / 0.8387 GB, free: 4.973 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.07073, allocations: 59.91 kB / 0.8388 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.07147, allocations: 0.6312 MB / 0.8394 GB, free: 4.258 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.07152, allocations: 33.7 kB / 0.8394 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.07191, allocations: 498.6 kB / 0.8399 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.0721, allocations: 186.5 kB / 0.8401 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.07234, allocations: 144.2 kB / 0.8402 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003345/0.07268, allocations: 0.5665 MB / 0.8408 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.073, allocations: 149.9 kB / 0.8409 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.0736, allocations: 464.7 kB / 0.8414 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.07456, allocations: 0.6483 MB / 0.842 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.07457, allocations: 4 kB / 0.842 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001696/0.07626, allocations: 0.8156 MB / 0.8428 GB, free: 472 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.07628, allocations: 8 kB / 0.8428 GB, free: 464 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.07629, allocations: 8 kB / 0.8428 GB, free: 456 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.07776, allocations: 326.9 kB / 0.8431 GB, free: 112 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.07829, allocations: 131.7 kB / 0.8432 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.08606, allocations: 7.783 MB / 0.8509 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.08663, allocations: 44.02 kB / 0.8509 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.08669, allocations: 35.94 kB / 0.8509 GB, free: 7.629 MB / 0.8073 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003414/0.08703, allocations: 224.3 kB / 0.8511 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.08718, allocations: 75.62 kB / 0.8512 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.08862, allocations: 0.5922 MB / 0.8518 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.08863, allocations: 8 kB / 0.8518 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.08864, allocations: 0 / 0.8518 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.08864, allocations: 7.984 kB / 0.8518 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.09123, allocations: 1.306 MB / 0.8531 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.09124, allocations: 4.188 kB / 0.8531 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.09151, allocations: 59.89 kB / 0.8531 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.09292, allocations: 314.4 kB / 0.8534 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.09296, allocations: 16 kB / 0.8535 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/0.1006, allocations: 7.779 MB / 0.8611 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1007, allocations: 0 / 0.8611 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.1022, allocations: 0.7874 MB / 0.8618 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.1025, allocations: 111.6 kB / 0.8619 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.1026, allocations: 12 kB / 0.8619 GB, free: 11.65 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.1029, allocations: 23.97 kB / 0.862 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1031, allocations: 51.84 kB / 0.862 GB, free: 11.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.1031, allocations: 16 kB / 0.862 GB, free: 11.56 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004829/0.1036, allocations: 394.8 kB / 0.8624 GB, free: 11.18 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1036, allocations: 0 / 0.8624 GB, free: 11.18 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008429/0.1044, allocations: 228 kB / 0.8626 GB, free: 10.95 MB / 0.823 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001786/0.1046, allocations: 119.1 kB / 0.8627 GB, free: 10.83 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.1067, allocations: 1.249 MB / 0.864 GB, free: 9.512 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.1067, allocations: 8.125 kB / 0.864 GB, free: 9.504 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.1082, allocations: 0.9958 MB / 0.8649 GB, free: 8.434 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.1092, allocations: 209.3 kB / 0.8651 GB, free: 8.238 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1115, allocations: 1.27 MB / 0.8664 GB, free: 6.902 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.112, allocations: 406.9 kB / 0.8668 GB, free: 6.48 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.1123, allocations: 105.4 kB / 0.8669 GB, free: 6.375 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.1124, allocations: 36.5 kB / 0.8669 GB, free: 6.34 MB / 0.823 GB Notification: Performance of SimCode: time 8.71e-07/0.1124, allocations: 4 kB / 0.8669 GB, free: 6.336 MB / 0.823 GB Notification: Performance of Templates: time 0.02154/0.134, allocations: 11.44 MB / 0.8781 GB, free: 11.16 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.654495842056349]