Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008661/0.0008661, 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.0007987/0.0007987, 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.8781/0.8781, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.109e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02025/0.02027, allocations: 28.73 MB / 0.9798 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.03388, allocations: 13.05 MB / 0.9926 GB, free: 9.039 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.03555, allocations: 198.4 kB / 0.9927 GB, free: 8.844 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.03924, allocations: 3.221 MB / 0.9959 GB, free: 5.613 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.04335, allocations: 2.828 MB / 0.9987 GB, free: 2.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.04633, allocations: 2.04 MB / 1.001 GB, free: 0.7305 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005894/0.05222, allocations: 7.795 MB / 1.008 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/0.0563, allocations: 4.627 MB / 1.013 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.06073, allocations: 4.904 MB / 1.018 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.06338, allocations: 3.051 MB / 1.021 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0005257/0.06391, allocations: 0.5898 MB / 1.021 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.06574, allocations: 1.415 MB / 1.023 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.06724, allocations: 2.525 MB / 1.025 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.0686, allocations: 1.996 MB / 1.027 GB, free: 5.645 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.005933/0.07453, allocations: 9.606 MB / 1.036 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.07454, allocations: 4 kB / 1.036 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.07454, allocations: 0 / 1.036 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9e-05/0.07463, allocations: 0 / 1.036 GB, free: 12.01 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.005626/0.08025, allocations: 5.125 MB / 1.041 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.0803, allocations: 12.03 kB / 1.041 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.08304, allocations: 1.024 MB / 1.042 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.08642, allocations: 3.013 MB / 1.045 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.08656, allocations: 316.8 kB / 1.046 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.08697, allocations: 416.3 kB / 1.046 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5187/0.6057, allocations: 7.372 MB / 1.053 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.631e-05/0.6058, allocations: 19.83 kB / 1.053 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004593/0.6062, allocations: 185.9 kB / 1.053 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004891/0.6067, allocations: 370.4 kB / 1.054 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005334/0.612, allocations: 5.106 MB / 1.059 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.6252, allocations: 19.02 MB / 1.077 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6263, allocations: 1.309 MB / 1.079 GB, free: 109.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009491/0.6272, allocations: 1.249 MB / 1.08 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.6273, allocations: 19.91 kB / 1.08 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6273, allocations: 56.03 kB / 1.08 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 3.617e-06/0.6273, allocations: 0 / 1.08 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.04412/0.6715, allocations: 22.81 MB / 1.102 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.6715, allocations: 73.05 kB / 1.102 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.6732, allocations: 1.847 MB / 1.104 GB, free: 104 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.171e-05/0.6733, allocations: 61.42 kB / 1.104 GB, free: 104 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/0.6741, allocations: 2.065 MB / 1.106 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.6744, allocations: 0.7064 MB / 1.107 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.6749, allocations: 406.2 kB / 1.107 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.807e-05/0.6749, allocations: 308.9 kB / 1.107 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.6763, allocations: 1.437 MB / 1.109 GB, free: 101 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.6779, allocations: 2.007 MB / 1.111 GB, free: 99.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/0.6813, allocations: 3.697 MB / 1.114 GB, free: 97.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.6813, allocations: 5.656 kB / 1.114 GB, free: 97.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006638/0.688, allocations: 5.576 MB / 1.12 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.688, allocations: 19.28 kB / 1.12 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.688, allocations: 16.69 kB / 1.12 GB, free: 95.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/0.6916, allocations: 2.085 MB / 1.122 GB, free: 94.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.6924, allocations: 375.5 kB / 1.122 GB, free: 94.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.711, allocations: 35.86 MB / 1.157 GB, free: 65.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.7121, allocations: 132.2 kB / 1.157 GB, free: 65.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7122, allocations: 87.25 kB / 1.158 GB, free: 65.88 MB / 0.9948 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.001768/0.7139, allocations: 1.504 MB / 1.159 GB, free: 64.92 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.7141, allocations: 270.3 kB / 1.159 GB, free: 64.65 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/0.7189, allocations: 5.138 MB / 1.164 GB, free: 59.44 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7189, allocations: 20 kB / 1.164 GB, free: 59.42 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7189, allocations: 16 kB / 1.164 GB, free: 59.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.7189, allocations: 15.91 kB / 1.164 GB, free: 59.39 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007536/0.7265, allocations: 8.443 MB / 1.173 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.7265, allocations: 8 kB / 1.173 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.7268, allocations: 215.6 kB / 1.173 GB, free: 50.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.7294, allocations: 1.838 MB / 1.175 GB, free: 48.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/0.7294, allocations: 40 kB / 1.175 GB, free: 48.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.7449, allocations: 34.85 MB / 1.209 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7449, allocations: 11.94 kB / 1.209 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004619/0.7496, allocations: 4.82 MB / 1.213 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/0.7503, allocations: 0.5297 MB / 1.214 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7504, allocations: 43.94 kB / 1.214 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.7511, allocations: 123.8 kB / 1.214 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/0.7515, allocations: 209.4 kB / 1.214 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.7516, allocations: 52 kB / 1.214 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009656/0.7526, allocations: 1.211 MB / 1.215 GB, free: 4.84 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7526, allocations: 3.938 kB / 1.215 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002668/0.7552, allocations: 1.043 MB / 1.216 GB, free: 3.793 MB / 0.9948 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.0002074/0.7555, allocations: 171 kB / 1.217 GB, free: 3.617 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005265/0.7607, allocations: 5.998 MB / 1.222 GB, free: 13.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7607, allocations: 6.625 kB / 1.223 GB, free: 13.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003601/0.7643, allocations: 4.264 MB / 1.227 GB, free: 8.895 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.7665, allocations: 0.9075 MB / 1.228 GB, free: 8.027 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.7767, allocations: 8.784 MB / 1.236 GB, free: 15.16 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.7791, allocations: 2.634 MB / 1.239 GB, free: 12.49 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.7794, allocations: 148.5 kB / 1.239 GB, free: 12.34 MB / 1.026 GB Notification: Performance of SimCode: time 1.393e-06/0.7794, allocations: 0 / 1.239 GB, free: 12.34 MB / 1.026 GB Notification: Performance of Templates: time 0.7064/1.486, allocations: 465.2 MB / 1.693 GB, free: 351.6 MB / 1.323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.43813922815025]