Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001161/0.001161, allocations: 76.5 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.001334/0.001334, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9149/0.9149, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 377.9 MB / 0.6229 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] 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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.783e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008369/0.008397, allocations: 10.19 MB / 0.9921 GB, free: 7.879 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.009538/0.01794, allocations: 8.397 MB / 1 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.01892, allocations: 87.25 kB / 1 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.02112, allocations: 1.674 MB / 1.002 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.02435, allocations: 1.61 MB / 1.004 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.02558, allocations: 0.6882 MB / 1.004 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002054/0.02763, allocations: 2.356 MB / 1.007 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.02894, allocations: 1.152 MB / 1.008 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.0307, allocations: 1.535 MB / 1.009 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.03172, allocations: 0.8296 MB / 1.01 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.03187, allocations: 136 kB / 1.01 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.03294, allocations: 0.7482 MB / 1.011 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.03329, allocations: 0.5957 MB / 1.011 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.03369, allocations: 0.5923 MB / 1.012 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.03541, allocations: 2.586 MB / 1.015 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.03541, allocations: 7.875 kB / 1.015 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.734e-06/0.03541, allocations: 0 / 1.015 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.03543, allocations: 0 / 1.015 GB, free: 0.793 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001933/0.03736, allocations: 1.962 MB / 1.017 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.03741, allocations: 12.03 kB / 1.017 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/0.04258, allocations: 2.059 MB / 1.019 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.04386, allocations: 1.117 MB / 1.02 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.04391, allocations: 98.67 kB / 1.02 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.04406, allocations: 116.4 kB / 1.02 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.04702, allocations: 2.688 MB / 1.022 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.04705, allocations: 11.89 kB / 1.022 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.04715, allocations: 55.98 kB / 1.023 GB, free: 8.383 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.04734, allocations: 130.1 kB / 1.023 GB, free: 8.254 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/0.05102, allocations: 2.537 MB / 1.025 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006832/0.05785, allocations: 7.467 MB / 1.032 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.06086, allocations: 1.846 MB / 1.034 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.06224, allocations: 0.9489 MB / 1.035 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.06228, allocations: 12.44 kB / 1.035 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.06231, allocations: 39.06 kB / 1.035 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=53): time 3.707e-06/0.06232, allocations: 0 / 1.035 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.01616/0.07848, allocations: 9.108 MB / 1.044 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.07853, allocations: 64 kB / 1.044 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/0.07951, allocations: 0.9632 MB / 1.045 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.07958, allocations: 37.7 kB / 1.045 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.07995, allocations: 0.758 MB / 1.046 GB, free: 212 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.5749/0.6548, allocations: 292.6 kB / 1.046 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.6551, allocations: 199.9 kB / 1.046 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.6552, allocations: 345.3 kB / 1.047 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.6566, allocations: 1.084 MB / 1.048 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.6581, allocations: 1.309 MB / 1.049 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.6609, allocations: 2.406 MB / 1.051 GB, free: 99.41 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6609, allocations: 2.844 kB / 1.051 GB, free: 99.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004371/0.6653, allocations: 3.268 MB / 1.055 GB, free: 98.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6653, allocations: 10.88 kB / 1.055 GB, free: 98.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6653, allocations: 8.844 kB / 1.055 GB, free: 98.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.6668, allocations: 0.8483 MB / 1.055 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.6677, allocations: 425.3 kB / 1.056 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007594/0.6753, allocations: 15.02 MB / 1.07 GB, free: 86.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6764, allocations: 295.7 kB / 1.071 GB, free: 86.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.6765, allocations: 52.73 kB / 1.071 GB, free: 86.3 MB / 0.9948 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0005699/0.677, allocations: 392.2 kB / 1.071 GB, free: 86.05 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6772, allocations: 142.3 kB / 1.071 GB, free: 86.03 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/0.6814, allocations: 3.208 MB / 1.074 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6814, allocations: 8.5 kB / 1.074 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.6814, allocations: 8.625 kB / 1.074 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6814, allocations: 3.375 kB / 1.074 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.6868, allocations: 4.526 MB / 1.079 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6868, allocations: 3.188 kB / 1.079 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/0.6875, allocations: 351.8 kB / 1.079 GB, free: 83.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.6888, allocations: 0.7666 MB / 1.08 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.6888, allocations: 31.98 kB / 1.08 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00822/0.6971, allocations: 14.63 MB / 1.094 GB, free: 71.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6971, allocations: 3.719 kB / 1.094 GB, free: 71.27 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/0.702, allocations: 3.04 MB / 1.097 GB, free: 70.22 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.7025, allocations: 305 kB / 1.098 GB, free: 70.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.7026, allocations: 15.2 kB / 1.098 GB, free: 70.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/0.7036, allocations: 294.1 kB / 1.098 GB, free: 70.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.7038, allocations: 89.72 kB / 1.098 GB, free: 70.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.7039, allocations: 39.84 kB / 1.098 GB, free: 70.02 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000688/0.7046, allocations: 0.6341 MB / 1.099 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7046, allocations: 4 kB / 1.099 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00125/0.7058, allocations: 440.6 kB / 1.099 GB, free: 69.71 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002259/0.7061, allocations: 127.8 kB / 1.099 GB, free: 69.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004992/0.7111, allocations: 3.538 MB / 1.103 GB, free: 68.02 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7111, allocations: 1.25 kB / 1.103 GB, free: 68.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.7138, allocations: 2.337 MB / 1.105 GB, free: 66.74 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7151, allocations: 491 kB / 1.105 GB, free: 66.59 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.721, allocations: 3.867 MB / 1.109 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.7218, allocations: 0.8003 MB / 1.11 GB, free: 64.85 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.7222, allocations: 119.5 kB / 1.11 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of SimCode: time 1.764e-06/0.7222, allocations: 0 / 1.11 GB, free: 64.84 MB / 0.9948 GB Notification: Performance of Templates: time 0.0576/0.7798, allocations: 74.99 MB / 1.183 GB, free: 17.19 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 12.110545520670712]