Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001261/0.001261, allocations: 76.55 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.0008577/0.0008577, allocations: 181.9 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.9283/0.9283, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.779/1.779, allocations: 377.8 MB / 0.6228 GB, free: 8.66 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.571e-05, allocations: 5.516 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02224/0.02226, allocations: 31.1 MB / 1.013 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.03932, allocations: 14.3 MB / 1.027 GB, free: 4.531 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.04194, allocations: 210.4 kB / 1.027 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.0465, allocations: 3.678 MB / 1.03 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.006228/0.05273, allocations: 3.074 MB / 1.033 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.05678, allocations: 2.359 MB / 1.036 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008392/0.06517, allocations: 9.001 MB / 1.044 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.509/0.5742, allocations: 5.499 MB / 1.05 GB, free: 52.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008734/0.5829, allocations: 5.688 MB / 1.055 GB, free: 52.19 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.5884, allocations: 3.66 MB / 1.059 GB, free: 52.19 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.5903, allocations: 0.7126 MB / 1.06 GB, free: 52.19 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.5942, allocations: 1.637 MB / 1.061 GB, free: 52.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003503/0.5977, allocations: 3.016 MB / 1.064 GB, free: 52.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004649/0.6023, allocations: 2.36 MB / 1.066 GB, free: 52.05 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.6144, allocations: 11.37 MB / 1.078 GB, free: 51.39 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6144, allocations: 1.266 kB / 1.078 GB, free: 51.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6144, allocations: 4.938 kB / 1.078 GB, free: 51.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004138/0.6149, allocations: 0.5 kB / 1.078 GB, free: 51.39 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01833/0.6332, allocations: 5.983 MB / 1.083 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6332, allocations: 8.344 kB / 1.083 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006591/0.6398, allocations: 1.178 MB / 1.085 GB, free: 48.76 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008738/0.6486, allocations: 3.453 MB / 1.088 GB, free: 47.29 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.6489, allocations: 374 kB / 1.088 GB, free: 47.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/0.6516, allocations: 499.9 kB / 1.089 GB, free: 46.96 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.6723, allocations: 8.702 MB / 1.097 GB, free: 42.83 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.6725, allocations: 24.42 kB / 1.097 GB, free: 42.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009386/0.6734, allocations: 219.4 kB / 1.098 GB, free: 42.67 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008054/0.6742, allocations: 434.8 kB / 1.098 GB, free: 42.63 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.6878, allocations: 6.075 MB / 1.104 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/0.7218, allocations: 21.19 MB / 1.125 GB, free: 27.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.7241, allocations: 1.915 MB / 1.126 GB, free: 26.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.7259, allocations: 1.745 MB / 1.128 GB, free: 26.22 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.726, allocations: 18.31 kB / 1.128 GB, free: 26.22 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.7261, allocations: 58.19 kB / 1.128 GB, free: 26.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/0.7261, allocations: 4 kB / 1.128 GB, free: 26.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.07297/0.799, allocations: 38.67 MB / 1.166 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.7991, allocations: 85.58 kB / 1.166 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.8012, allocations: 2.032 MB / 1.168 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003342/0.8015, allocations: 73.7 kB / 1.168 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/0.8022, allocations: 2.357 MB / 1.17 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000496/0.8026, allocations: 0.9597 MB / 1.171 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/0.8032, allocations: 0.5063 MB / 1.172 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.8032, allocations: 305.1 kB / 1.172 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.8049, allocations: 1.977 MB / 1.174 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.8067, allocations: 2.601 MB / 1.177 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004565/0.8113, allocations: 4.933 MB / 1.181 GB, free: 11.96 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.8113, allocations: 8 kB / 1.181 GB, free: 11.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009554/0.8208, allocations: 7.626 MB / 1.189 GB, free: 4.473 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.8209, allocations: 16 kB / 1.189 GB, free: 4.457 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.8209, allocations: 16 kB / 1.189 GB, free: 4.441 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005367/0.8263, allocations: 3.205 MB / 1.192 GB, free: 1.227 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8274, allocations: 403.6 kB / 1.192 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02925/0.8567, allocations: 32.55 MB / 1.224 GB, free: 15.79 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.8591, allocations: 167.5 kB / 1.224 GB, free: 15.63 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.8594, allocations: 111.6 kB / 1.224 GB, free: 15.52 MB / 1.057 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003312/0.8628, allocations: 1.79 MB / 1.226 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/0.8634, allocations: 322 kB / 1.227 GB, free: 13.43 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008854/0.8723, allocations: 7.234 MB / 1.234 GB, free: 6.223 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.8723, allocations: 24 kB / 1.234 GB, free: 6.199 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.35e-05/0.8724, allocations: 32 kB / 1.234 GB, free: 6.168 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.751e-05/0.8724, allocations: 11.95 kB / 1.234 GB, free: 6.156 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.8885, allocations: 11.39 MB / 1.245 GB, free: 10.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.8886, allocations: 4 kB / 1.245 GB, free: 10.79 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.8891, allocations: 234.7 kB / 1.245 GB, free: 10.58 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004725/0.8938, allocations: 2.866 MB / 1.248 GB, free: 7.699 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.8941, allocations: 51.98 kB / 1.248 GB, free: 7.648 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02812/0.9222, allocations: 31.33 MB / 1.278 GB, free: 7.781 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.9222, allocations: 11.47 kB / 1.278 GB, free: 7.773 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.9325, allocations: 6.742 MB / 1.285 GB, free: 0.9336 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002526/0.935, allocations: 0.6952 MB / 1.286 GB, free: 244 kB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009654/0.936, allocations: 56.31 kB / 1.286 GB, free: 188 kB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.9379, allocations: 175.3 kB / 1.286 GB, free: 16 kB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009922/0.9389, allocations: 265.2 kB / 1.286 GB, free: 15.76 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.9391, allocations: 83.98 kB / 1.286 GB, free: 15.68 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001937/0.941, allocations: 1.33 MB / 1.288 GB, free: 14.34 MB / 1.12 GB Notification: Performance of sort global known variables: time 3.8e-07/0.941, allocations: 0 / 1.288 GB, free: 14.34 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.005932/0.947, allocations: 1.363 MB / 1.289 GB, free: 12.97 MB / 1.12 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006784/0.9476, allocations: 182.9 kB / 1.289 GB, free: 12.8 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.9577, allocations: 6.542 MB / 1.295 GB, free: 6.273 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/0.9577, allocations: 4 kB / 1.295 GB, free: 6.27 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.007144/0.9649, allocations: 4.244 MB / 1.3 GB, free: 1.988 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/0.9696, allocations: 1.011 MB / 1.301 GB, free: 1.016 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/0.9926, allocations: 11.01 MB / 1.311 GB, free: 5.918 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006407/0.999, allocations: 3.228 MB / 1.315 GB, free: 2.656 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/1, allocations: 160.5 kB / 1.315 GB, free: 2.5 MB / 1.135 GB Notification: Performance of SimCode: time 2.856e-06/1, allocations: 0 / 1.315 GB, free: 2.5 MB / 1.135 GB Notification: Performance of Templates: time 0.2002/1.2, allocations: 227.9 MB / 1.537 GB, free: 14.78 MB / 1.37 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 19.13938608393073]