Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.0009576/0.0009576, allocations: 72.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.00108/0.00108, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9414/0.9414, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.73/1.73, allocations: 377.9 MB / 0.6229 GB, free: 8.641 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.308e-05, allocations: 9.875 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01047/0.01051, allocations: 13.09 MB / 0.995 GB, free: 4.926 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02064, allocations: 9.009 MB / 1.004 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.02217, allocations: 91.19 kB / 1.004 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.02485, allocations: 1.663 MB / 1.006 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.0294, allocations: 1.621 MB / 1.007 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.03113, allocations: 0.7776 MB / 1.008 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.03407, allocations: 2.601 MB / 1.01 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.03554, allocations: 1.184 MB / 1.012 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.03745, allocations: 1.582 MB / 1.013 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.03857, allocations: 0.9543 MB / 1.014 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.03875, allocations: 168 kB / 1.014 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.03996, allocations: 0.7326 MB / 1.015 GB, free: 476 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004429/0.0404, allocations: 0.6465 MB / 1.016 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.041, allocations: 0.6428 MB / 1.016 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.04375, allocations: 2.769 MB / 1.019 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.04375, allocations: 0 / 1.019 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.366e-06/0.04376, allocations: 3.984 kB / 1.019 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.04379, allocations: 0 / 1.019 GB, free: 12.39 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002775/0.04657, allocations: 2.081 MB / 1.021 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.04661, allocations: 16.03 kB / 1.021 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00576/0.05237, allocations: 2.094 MB / 1.023 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.0546, allocations: 1.188 MB / 1.024 GB, free: 6.918 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.05465, allocations: 82.73 kB / 1.024 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.05492, allocations: 120.4 kB / 1.024 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.05895, allocations: 2.886 MB / 1.027 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.05899, allocations: 15.83 kB / 1.027 GB, free: 3.621 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.05911, allocations: 51.98 kB / 1.027 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003653/0.05947, allocations: 190.1 kB / 1.027 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004546/0.06402, allocations: 2.787 MB / 1.03 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009162/0.07318, allocations: 8.128 MB / 1.038 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.07684, allocations: 2.219 MB / 1.04 GB, free: 6.062 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.07855, allocations: 1.206 MB / 1.041 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.0786, allocations: 13 kB / 1.041 GB, free: 4.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.07864, allocations: 39.56 kB / 1.041 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 5.701e-06/0.07865, allocations: 3.938 kB / 1.041 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.5816/0.6603, allocations: 12.64 MB / 1.054 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.6603, allocations: 67.03 kB / 1.054 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.6613, allocations: 0.9886 MB / 1.055 GB, free: 100 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.6614, allocations: 55.11 kB / 1.055 GB, free: 99.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.6616, allocations: 0.7332 MB / 1.056 GB, free: 99.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.6619, allocations: 466.2 kB / 1.056 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.6622, allocations: 261.3 kB / 1.056 GB, free: 99.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.6623, allocations: 356.6 kB / 1.057 GB, free: 98.71 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.6639, allocations: 1.34 MB / 1.058 GB, free: 98.33 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.6657, allocations: 1.602 MB / 1.059 GB, free: 97.67 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.6692, allocations: 2.992 MB / 1.062 GB, free: 96.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6692, allocations: 2.594 kB / 1.062 GB, free: 96.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006027/0.6753, allocations: 4.385 MB / 1.067 GB, free: 95.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.6753, allocations: 11.81 kB / 1.067 GB, free: 95.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.6753, allocations: 8.156 kB / 1.067 GB, free: 95.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/0.6779, allocations: 1.43 MB / 1.068 GB, free: 94.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.679, allocations: 439.8 kB / 1.069 GB, free: 94.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.6942, allocations: 24.79 MB / 1.093 GB, free: 74.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.6959, allocations: 300.5 kB / 1.093 GB, free: 74.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.696, allocations: 67.69 kB / 1.093 GB, free: 74.73 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007937/0.6968, allocations: 432.6 kB / 1.093 GB, free: 74.46 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.697, allocations: 153.5 kB / 1.094 GB, free: 74.38 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007277/0.7043, allocations: 4.4 MB / 1.098 GB, free: 72.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.7043, allocations: 14.41 kB / 1.098 GB, free: 72.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-05/0.7044, allocations: 12.53 kB / 1.098 GB, free: 72.91 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7044, allocations: 9.25 kB / 1.098 GB, free: 72.91 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/0.7141, allocations: 6.125 MB / 1.104 GB, free: 70.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7142, allocations: 3.938 kB / 1.104 GB, free: 70.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.7152, allocations: 380.8 kB / 1.104 GB, free: 70.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/0.718, allocations: 1.31 MB / 1.106 GB, free: 70.36 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.7181, allocations: 38.95 kB / 1.106 GB, free: 70.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7327, allocations: 23.66 MB / 1.129 GB, free: 51.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7327, allocations: 3.062 kB / 1.129 GB, free: 51.05 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.7398, allocations: 4.14 MB / 1.133 GB, free: 49.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008898/0.7407, allocations: 373.9 kB / 1.133 GB, free: 49.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.7409, allocations: 25.23 kB / 1.133 GB, free: 49.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.7421, allocations: 308.5 kB / 1.133 GB, free: 49.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005058/0.7426, allocations: 126.6 kB / 1.134 GB, free: 49.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/0.7427, allocations: 59.67 kB / 1.134 GB, free: 49.34 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000813/0.7435, allocations: 0.6479 MB / 1.134 GB, free: 49.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7435, allocations: 3.938 kB / 1.134 GB, free: 49.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001922/0.7454, allocations: 0.5638 MB / 1.135 GB, free: 49.01 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.7457, allocations: 142.5 kB / 1.135 GB, free: 48.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006925/0.7526, allocations: 4.965 MB / 1.14 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7526, allocations: 5.375 kB / 1.14 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004413/0.757, allocations: 3.405 MB / 1.143 GB, free: 44.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.7588, allocations: 0.5015 MB / 1.144 GB, free: 44.23 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.7657, allocations: 4.145 MB / 1.148 GB, free: 42.48 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.7668, allocations: 0.8874 MB / 1.149 GB, free: 42.25 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.7674, allocations: 129 kB / 1.149 GB, free: 42.24 MB / 0.9948 GB Notification: Performance of SimCode: time 2.244e-06/0.7674, allocations: 0 / 1.149 GB, free: 42.24 MB / 0.9948 GB Notification: Performance of Templates: time 0.08189/0.8493, allocations: 112.5 MB / 1.258 GB, free: 3.297 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 13.082168613560498]