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.001942/0.001942, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002486/0.002486, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.44/1.44, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.751/2.751, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.413e-05, allocations: 4.828 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01012/0.01015, allocations: 5.842 MB / 0.8165 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006345/0.0165, allocations: 3.072 MB / 0.8195 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005972/0.01709, allocations: 43.62 kB / 0.8196 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.01997, allocations: 0.933 MB / 0.8205 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.02147, allocations: 0.501 MB / 0.821 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.02289, allocations: 489.1 kB / 0.8214 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.02468, allocations: 1.127 MB / 0.8225 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.02572, allocations: 0.5061 MB / 0.823 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.02695, allocations: 0.6102 MB / 0.8236 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/0.02776, allocations: 430.8 kB / 0.824 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.0279, allocations: 56 kB / 0.8241 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009541/0.02886, allocations: 450.8 kB / 0.8245 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.02926, allocations: 312 kB / 0.8248 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.02968, allocations: 271.3 kB / 0.8251 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.03159, allocations: 1.203 MB / 0.8262 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.0316, allocations: 6.125 kB / 0.8262 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.653e-06/0.0316, allocations: 0 / 0.8262 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.874e-05/0.03164, allocations: 0 / 0.8262 GB, free: 2.27 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002098/0.03374, allocations: 0.9852 MB / 0.8272 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.03378, allocations: 8.031 kB / 0.8272 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.03559, allocations: 344.2 kB / 0.8275 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.03669, allocations: 0.5561 MB / 0.8281 GB, free: 348 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.03674, allocations: 41.69 kB / 0.8281 GB, free: 308 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.03688, allocations: 68.36 kB / 0.8282 GB, free: 240 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.03885, allocations: 1.133 MB / 0.8293 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.03888, allocations: 12.08 kB / 0.8293 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.03898, allocations: 24.38 kB / 0.8293 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.03909, allocations: 77.2 kB / 0.8294 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.04039, allocations: 0.6888 MB / 0.8301 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.04614, allocations: 4.407 MB / 0.8344 GB, free: 9.605 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.04703, allocations: 412.6 kB / 0.8348 GB, free: 9.199 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/0.04793, allocations: 394.2 kB / 0.8351 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.04797, allocations: 12 kB / 0.8352 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.048, allocations: 34.56 kB / 0.8352 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.374e-06/0.04801, allocations: 0 / 0.8352 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.004768/0.05277, allocations: 1.738 MB / 0.8369 GB, free: 7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.05284, allocations: 55.41 kB / 0.8369 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.05339, allocations: 441.7 kB / 0.8374 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.05343, allocations: 33.7 kB / 0.8374 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.05376, allocations: 392.1 kB / 0.8378 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.05393, allocations: 162.6 kB / 0.8379 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.05412, allocations: 110.3 kB / 0.838 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.05433, allocations: 358.8 kB / 0.8384 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.05473, allocations: 245.2 kB / 0.8386 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.05535, allocations: 457.8 kB / 0.839 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.05649, allocations: 0.7525 MB / 0.8398 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.05649, allocations: 11.94 kB / 0.8398 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002258/0.05875, allocations: 1.062 MB / 0.8408 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.05878, allocations: 8 kB / 0.8408 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.05879, allocations: 8 kB / 0.8408 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.06014, allocations: 359.2 kB / 0.8412 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.06048, allocations: 103.8 kB / 0.8413 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008716/0.0692, allocations: 6.993 MB / 0.8481 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.06959, allocations: 28.02 kB / 0.8481 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.06967, allocations: 28 kB / 0.8482 GB, free: 10.78 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 (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.0003862/0.07005, allocations: 241.5 kB / 0.8484 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.0702, allocations: 67.81 kB / 0.8485 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.07213, allocations: 0.8922 MB / 0.8493 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.07214, allocations: 8 kB / 0.8493 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.07215, allocations: 4.188 kB / 0.8493 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.07216, allocations: 7.922 kB / 0.8493 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.07508, allocations: 1.514 MB / 0.8508 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.07509, allocations: 7.922 kB / 0.8508 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.07527, allocations: 43.91 kB / 0.8509 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.07649, allocations: 339.2 kB / 0.8512 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.07652, allocations: 8 kB / 0.8512 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008756/0.08528, allocations: 7.002 MB / 0.858 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.08529, allocations: 3.938 kB / 0.858 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.0873, allocations: 0.9993 MB / 0.859 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.0876, allocations: 99.52 kB / 0.8591 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.08769, allocations: 8 kB / 0.8591 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.08797, allocations: 27.97 kB / 0.8592 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.0881, allocations: 35.92 kB / 0.8592 GB, free: 14.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.08813, allocations: 12 kB / 0.8592 GB, free: 14.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003658/0.0885, allocations: 282.9 kB / 0.8595 GB, free: 14.63 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.0885, allocations: 0 / 0.8595 GB, free: 14.63 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000897/0.08939, allocations: 196 kB / 0.8597 GB, free: 14.44 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 (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.0002155/0.08961, allocations: 119.1 kB / 0.8598 GB, free: 14.31 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.09189, allocations: 1.162 MB / 0.8609 GB, free: 13.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.0919, allocations: 256 / 0.8609 GB, free: 13.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.09329, allocations: 0.8419 MB / 0.8617 GB, free: 12.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.09432, allocations: 200.6 kB / 0.8619 GB, free: 12.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.09674, allocations: 1.246 MB / 0.8631 GB, free: 10.72 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.09727, allocations: 394.7 kB / 0.8635 GB, free: 10.31 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003405/0.09761, allocations: 97 kB / 0.8636 GB, free: 10.21 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.0977, allocations: 32.5 kB / 0.8636 GB, free: 10.18 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/0.09771, allocations: 0 / 0.8636 GB, free: 10.18 MB / 0.823 GB Notification: Performance of Templates: time 0.02067/0.1184, allocations: 10.43 MB / 0.8738 GB, free: 15.98 MB / 0.8386 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.148556789965369]