Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 119.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.11 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3562, allocations: 160.7 MB / 1.214 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01463/0.3708, allocations: 11.04 MB / 1.225 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.3855, allocations: 8.901 MB / 1.234 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.387, allocations: 55.69 kB / 1.234 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004669/0.3917, allocations: 1.696 MB / 1.235 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.3967, allocations: 1.565 MB / 1.237 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.3987, allocations: 0.6705 MB / 1.237 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.4023, allocations: 2.278 MB / 1.24 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.4041, allocations: 1.102 MB / 1.241 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.4062, allocations: 1.016 MB / 1.242 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.4081, allocations: 1.066 MB / 1.243 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.4083, allocations: 140 kB / 1.243 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4101, allocations: 0.8188 MB / 1.244 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.4107, allocations: 0.5802 MB / 1.244 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.4118, allocations: 0.8823 MB / 1.245 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.4153, allocations: 2.572 MB / 1.248 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4153, allocations: 0 / 1.248 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4153, allocations: 0 / 1.248 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.71e-05/0.4154, allocations: 0 / 1.248 GB, free: 14.44 MB / 0.9981 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.003972/0.4193, allocations: 2.086 MB / 1.25 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4194, allocations: 15.98 kB / 1.25 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.4311, allocations: 2.051 MB / 1.252 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.4338, allocations: 1.221 MB / 1.253 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.4339, allocations: 90.7 kB / 1.253 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.4341, allocations: 120.1 kB / 1.253 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/0.4401, allocations: 2.478 MB / 1.256 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.4401, allocations: 15.88 kB / 1.256 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.4403, allocations: 44 kB / 1.256 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003724/0.4406, allocations: 130.1 kB / 1.256 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007622/0.4482, allocations: 2.545 MB / 1.258 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7676/1.216, allocations: 10.03 MB / 1.268 GB, free: 42.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/1.222, allocations: 1.917 MB / 1.27 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/1.225, allocations: 0.9456 MB / 1.271 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/1.225, allocations: 3.406 kB / 1.271 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.225, allocations: 43.77 kB / 1.271 GB, free: 42.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/1.225, allocations: 0 / 1.271 GB, free: 42.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.03447/1.259, allocations: 8.713 MB / 1.279 GB, free: 41.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/1.26, allocations: 60.06 kB / 1.279 GB, free: 41.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/1.262, allocations: 1.101 MB / 1.28 GB, free: 41.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001985/1.262, allocations: 41.61 kB / 1.28 GB, free: 41.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/1.263, allocations: 0.7546 MB / 1.281 GB, free: 40.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/1.263, allocations: 296.6 kB / 1.282 GB, free: 40.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/1.263, allocations: 199 kB / 1.282 GB, free: 40.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/1.263, allocations: 347.3 kB / 1.282 GB, free: 40.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/1.266, allocations: 1.072 MB / 1.283 GB, free: 39.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/1.27, allocations: 1.305 MB / 1.284 GB, free: 39.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/1.276, allocations: 2.384 MB / 1.287 GB, free: 38.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.276, allocations: 1.406 kB / 1.287 GB, free: 38.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01005/1.286, allocations: 3.258 MB / 1.29 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.286, allocations: 9.062 kB / 1.29 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.286, allocations: 10.47 kB / 1.29 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/1.289, allocations: 0.7783 MB / 1.291 GB, free: 37.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/1.292, allocations: 417.8 kB / 1.291 GB, free: 37.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/1.307, allocations: 15.93 MB / 1.307 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/1.309, allocations: 291.2 kB / 1.307 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/1.31, allocations: 53.89 kB / 1.307 GB, free: 23.94 MB / 0.9981 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.000861/1.311, allocations: 397.7 kB / 1.307 GB, free: 23.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/1.311, allocations: 147.2 kB / 1.307 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009598/1.32, allocations: 3.183 MB / 1.311 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.32, allocations: 11.34 kB / 1.311 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/1.321, allocations: 7.781 kB / 1.311 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/1.321, allocations: 5.016 kB / 1.311 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.333, allocations: 4.9 MB / 1.315 GB, free: 20.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.333, allocations: 2.375 kB / 1.315 GB, free: 20.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.335, allocations: 355.9 kB / 1.316 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/1.337, allocations: 0.6904 MB / 1.316 GB, free: 20.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.338, allocations: 36.06 kB / 1.316 GB, free: 20.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.351, allocations: 15.53 MB / 1.332 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.351, allocations: 3.438 kB / 1.332 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008435/1.359, allocations: 3.026 MB / 1.335 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.36, allocations: 389 kB / 1.335 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.36, allocations: 22.53 kB / 1.335 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.362, allocations: 291.2 kB / 1.335 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/1.363, allocations: 83.95 kB / 1.335 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.866e-05/1.363, allocations: 34.06 kB / 1.335 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001145/1.364, allocations: 0.7388 MB / 1.336 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.364, allocations: 0 / 1.336 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002056/1.366, allocations: 437.2 kB / 1.336 GB, free: 3.547 MB / 0.9981 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.000261/1.366, allocations: 131.6 kB / 1.337 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008887/1.375, allocations: 3.523 MB / 1.34 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.375, allocations: 1.094 kB / 1.34 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005189/1.38, allocations: 2.318 MB / 1.342 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.383, allocations: 0.5175 MB / 1.343 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/1.392, allocations: 3.59 MB / 1.346 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.394, allocations: 1.389 MB / 1.348 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006973/1.394, allocations: 123.7 kB / 1.348 GB, free: 12.07 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.394, allocations: 0 / 1.348 GB, free: 12.07 MB / 1.014 GB Notification: Performance of Templates: time 0.09549/1.49, allocations: 75.19 MB / 1.421 GB, free: 6.781 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.21007210179232]