Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0009495/0.0009495, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009111/0.0009111, allocations: 173 kB / 23.03 MB, free: 1.543 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.9309/0.9309, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 2.034/2.034, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.63e-05, allocations: 5.828 kB / 0.8782 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004231/0.004257, allocations: 4.199 MB / 0.8823 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.006608, allocations: 1.576 MB / 0.8838 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.006964, allocations: 43.62 kB / 0.8839 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.007559, allocations: 196.1 kB / 0.8841 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.008232, allocations: 415.1 kB / 0.8844 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.00886, allocations: 375.3 kB / 0.8848 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009763/0.009837, allocations: 1.143 MB / 0.8859 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008149/0.01065, allocations: 0.5139 MB / 0.8864 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/0.01139, allocations: 0.6118 MB / 0.887 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.01195, allocations: 442.8 kB / 0.8874 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.01204, allocations: 60 kB / 0.8875 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.0123, allocations: 139.7 kB / 0.8876 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.01251, allocations: 303.2 kB / 0.8879 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.01272, allocations: 275.3 kB / 0.8882 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.01336, allocations: 0.6656 MB / 0.8888 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01336, allocations: 0 / 0.8888 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01337, allocations: 0 / 0.8888 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.01338, allocations: 0 / 0.8888 GB, free: 10.27 MB / 0.8073 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.001027/0.01441, allocations: 1.064 MB / 0.8899 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01445, allocations: 12.03 kB / 0.8899 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000803/0.01525, allocations: 315.6 kB / 0.8902 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.01584, allocations: 0.5446 MB / 0.8907 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.01587, allocations: 45.67 kB / 0.8908 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.01594, allocations: 68.36 kB / 0.8908 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.01673, allocations: 0.9014 MB / 0.8917 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.01676, allocations: 12.08 kB / 0.8917 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.01681, allocations: 28.36 kB / 0.8917 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.01688, allocations: 77.2 kB / 0.8918 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.01732, allocations: 335.2 kB / 0.8921 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.02038, allocations: 5.631 MB / 0.8976 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.02079, allocations: 251 kB / 0.8979 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.02121, allocations: 256.4 kB / 0.8981 GB, free: 316 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.02124, allocations: 4 kB / 0.8981 GB, free: 312 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.02126, allocations: 45.39 kB / 0.8982 GB, free: 256 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=41): time 3.186e-06/0.02127, allocations: 0 / 0.8982 GB, free: 256 kB / 0.8073 GB Notification: Performance of matching and sorting (n=42): time 0.002098/0.02337, allocations: 1.144 MB / 0.8993 GB, free: 15.08 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.02339, allocations: 63.34 kB / 0.8993 GB, free: 15.01 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.02371, allocations: 474.4 kB / 0.8998 GB, free: 14.53 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.02373, allocations: 33.7 kB / 0.8998 GB, free: 14.49 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.02407, allocations: 450.7 kB / 0.9003 GB, free: 14.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.02416, allocations: 158.7 kB / 0.9004 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02426, allocations: 112 kB / 0.9005 GB, free: 13.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.02439, allocations: 0.5352 MB / 0.901 GB, free: 13.22 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.02454, allocations: 105.2 kB / 0.9011 GB, free: 13.12 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.0248, allocations: 408.7 kB / 0.9015 GB, free: 12.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.02526, allocations: 0.5533 MB / 0.9021 GB, free: 11.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02527, allocations: 0 / 0.9021 GB, free: 11.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009471/0.02621, allocations: 0.7253 MB / 0.9028 GB, free: 11.15 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02623, allocations: 8 kB / 0.9028 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.02624, allocations: 11.98 kB / 0.9028 GB, free: 11.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.02687, allocations: 255.2 kB / 0.903 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.02706, allocations: 103.8 kB / 0.9031 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.03127, allocations: 7.725 MB / 0.9107 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.03151, allocations: 27.97 kB / 0.9107 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.03153, allocations: 28 kB / 0.9107 GB, free: 2.492 MB / 0.823 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.0001965/0.03173, allocations: 204.3 kB / 0.9109 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.0318, allocations: 71.62 kB / 0.911 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007511/0.03255, allocations: 0.5556 MB / 0.9115 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.03255, allocations: 4 kB / 0.9115 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.03256, allocations: 4 kB / 0.9116 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.03257, allocations: 7.922 kB / 0.9116 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.03384, allocations: 1.15 MB / 0.9127 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.03384, allocations: 4 kB / 0.9127 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.03393, allocations: 39.91 kB / 0.9127 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.03445, allocations: 250.9 kB / 0.913 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.03448, allocations: 8 kB / 0.913 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.03836, allocations: 7.718 MB / 0.9205 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.03836, allocations: 0 / 0.9205 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.03934, allocations: 0.7426 MB / 0.9212 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.03949, allocations: 95.52 kB / 0.9213 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.03952, allocations: 8 kB / 0.9213 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.03966, allocations: 31.97 kB / 0.9214 GB, free: 6.922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.03976, allocations: 39.86 kB / 0.9214 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.03977, allocations: 16 kB / 0.9214 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001867/0.03996, allocations: 294.8 kB / 0.9217 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03996, allocations: 4 kB / 0.9217 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005545/0.04051, allocations: 196 kB / 0.9219 GB, free: 6.387 MB / 0.8386 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.0001235/0.04064, allocations: 107.2 kB / 0.922 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.04167, allocations: 1.145 MB / 0.9231 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.04167, allocations: 0 / 0.9231 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.04228, allocations: 0.9528 MB / 0.924 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.04287, allocations: 199.7 kB / 0.9242 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.04439, allocations: 1.168 MB / 0.9254 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.04455, allocations: 218 kB / 0.9256 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.04474, allocations: 85 kB / 0.9257 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.04479, allocations: 32.5 kB / 0.9257 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of SimCode: time 1.102e-06/0.04479, allocations: 0 / 0.9257 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of Templates: time 0.01354/0.05834, allocations: 10.96 MB / 0.9364 GB, free: 7.508 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1394619583152235]