Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008474/0.0008474, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001284/0.001284, allocations: 177.9 kB / 23.21 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.8799/0.8799, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 7.938 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.94e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02013/0.02015, allocations: 28.72 MB / 1.029 GB, free: 164 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.03371, allocations: 13.04 MB / 1.042 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.0355, allocations: 202.4 kB / 1.042 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.3986/0.4341, allocations: 3.215 MB / 1.045 GB, free: 50.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.4396, allocations: 2.837 MB / 1.048 GB, free: 50.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.4426, allocations: 2.035 MB / 1.05 GB, free: 50.02 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.4471, allocations: 7.792 MB / 1.057 GB, free: 48.71 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.4506, allocations: 4.609 MB / 1.062 GB, free: 48.11 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.4545, allocations: 4.914 MB / 1.067 GB, free: 46.42 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.4567, allocations: 3.053 MB / 1.07 GB, free: 45.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.4571, allocations: 0.5899 MB / 1.07 GB, free: 45.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.4587, allocations: 1.419 MB / 1.072 GB, free: 45.51 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.4598, allocations: 2.527 MB / 1.074 GB, free: 44.44 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.4614, allocations: 1.993 MB / 1.076 GB, free: 43.58 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007107/0.4685, allocations: 9.6 MB / 1.085 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4685, allocations: 8.031 kB / 1.085 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4685, allocations: 5.406 kB / 1.085 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001922/0.4687, allocations: 0 / 1.085 GB, free: 40.84 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.007634/0.4764, allocations: 5.114 MB / 1.09 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4764, allocations: 13.91 kB / 1.09 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.4797, allocations: 1.034 MB / 1.091 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.4837, allocations: 3.005 MB / 1.094 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.4839, allocations: 320.8 kB / 1.095 GB, free: 36.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.4843, allocations: 419.2 kB / 1.095 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008149/0.4925, allocations: 7.367 MB / 1.102 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-05/0.4926, allocations: 19.5 kB / 1.102 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.4929, allocations: 189 kB / 1.102 GB, free: 32.28 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005225/0.4934, allocations: 370.1 kB / 1.103 GB, free: 32.24 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.4993, allocations: 5.107 MB / 1.108 GB, free: 30.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.5152, allocations: 19.02 MB / 1.126 GB, free: 18.33 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5164, allocations: 1.313 MB / 1.128 GB, free: 17.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.5176, allocations: 1.245 MB / 1.129 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.5177, allocations: 13.66 kB / 1.129 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5177, allocations: 50.69 kB / 1.129 GB, free: 17.29 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 4.028e-06/0.5177, allocations: 2.812 kB / 1.129 GB, free: 17.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.04396/0.5617, allocations: 22.82 MB / 1.151 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.5617, allocations: 72.38 kB / 1.151 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.5632, allocations: 1.858 MB / 1.153 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5633, allocations: 56.7 kB / 1.153 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.5638, allocations: 2.066 MB / 1.155 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.5641, allocations: 0.7053 MB / 1.156 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.5645, allocations: 402.6 kB / 1.156 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.326e-05/0.5645, allocations: 307.4 kB / 1.157 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.5657, allocations: 1.432 MB / 1.158 GB, free: 5.637 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.5671, allocations: 2.008 MB / 1.16 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.5698, allocations: 3.691 MB / 1.164 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5698, allocations: 8.5 kB / 1.164 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006123/0.5759, allocations: 5.582 MB / 1.169 GB, free: 12.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.5759, allocations: 16 kB / 1.169 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.576, allocations: 20.09 kB / 1.169 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/0.5797, allocations: 2.074 MB / 1.171 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.5805, allocations: 387.6 kB / 1.171 GB, free: 10.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/0.6037, allocations: 35.86 MB / 1.206 GB, free: 4.961 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6054, allocations: 123.9 kB / 1.207 GB, free: 4.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.6055, allocations: 95.98 kB / 1.207 GB, free: 4.746 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002267/0.6078, allocations: 1.502 MB / 1.208 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.6081, allocations: 270.4 kB / 1.208 GB, free: 2.992 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/0.6139, allocations: 5.129 MB / 1.213 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.614, allocations: 20 kB / 1.213 GB, free: 13.84 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.614, allocations: 23.94 kB / 1.213 GB, free: 13.82 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.614, allocations: 7.969 kB / 1.213 GB, free: 13.81 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009927/0.6239, allocations: 8.453 MB / 1.222 GB, free: 5.316 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6239, allocations: 8 kB / 1.222 GB, free: 5.309 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.6244, allocations: 214.7 kB / 1.222 GB, free: 5.109 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.6274, allocations: 1.835 MB / 1.224 GB, free: 3.23 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.263e-05/0.6275, allocations: 44 kB / 1.224 GB, free: 3.188 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/0.6489, allocations: 34.86 MB / 1.258 GB, free: 14.67 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6489, allocations: 10.8 kB / 1.258 GB, free: 14.66 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/0.6544, allocations: 4.819 MB / 1.263 GB, free: 9.758 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008757/0.6552, allocations: 0.5228 MB / 1.263 GB, free: 9.238 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.6554, allocations: 51.89 kB / 1.263 GB, free: 9.188 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007394/0.6562, allocations: 128 kB / 1.263 GB, free: 9.062 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/0.6566, allocations: 207.7 kB / 1.263 GB, free: 8.871 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.6567, allocations: 60 kB / 1.263 GB, free: 8.812 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001312/0.658, allocations: 1.204 MB / 1.265 GB, free: 7.594 MB / 1.104 GB Notification: Performance of sort global known variables: time 8e-08/0.658, allocations: 0 / 1.265 GB, free: 7.594 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.002522/0.6605, allocations: 1.039 MB / 1.266 GB, free: 6.555 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,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.0002229/0.6607, allocations: 169.3 kB / 1.266 GB, free: 6.391 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.005708/0.6665, allocations: 6.001 MB / 1.272 GB, free: 260 kB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6665, allocations: 4 kB / 1.272 GB, free: 256 kB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/0.6699, allocations: 4.272 MB / 1.276 GB, free: 11.77 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.6721, allocations: 0.8949 MB / 1.277 GB, free: 10.9 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6822, allocations: 8.788 MB / 1.285 GB, free: 2.031 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002587/0.6848, allocations: 2.631 MB / 1.288 GB, free: 15.37 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.6852, allocations: 148.5 kB / 1.288 GB, free: 15.22 MB / 1.135 GB Notification: Performance of SimCode: time 1.452e-06/0.6852, allocations: 4 kB / 1.288 GB, free: 15.22 MB / 1.135 GB Notification: Performance of Templates: time 0.6087/1.294, allocations: 465.2 MB / 1.742 GB, free: 360.4 MB / 1.401 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 17.66956423316151]