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.001479/0.001479, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.001598/0.001598, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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 1.525/1.525, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.843/2.843, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.733e-06/1.733e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.154e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04855/0.04859, allocations: 31.1 MB / 0.8412 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03004/0.07862, allocations: 14.33 MB / 0.8552 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004091/0.08272, allocations: 214.4 kB / 0.8554 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01179/0.0945, allocations: 3.678 MB / 0.859 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.1046, allocations: 3.067 MB / 0.862 GB, free: 13.57 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007541/0.1121, allocations: 2.354 MB / 0.8643 GB, free: 11.21 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.015/0.1271, allocations: 9.008 MB / 0.8731 GB, free: 2.176 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.1397, allocations: 5.507 MB / 0.8784 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01315/0.1529, allocations: 5.684 MB / 0.884 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008151/0.161, allocations: 3.663 MB / 0.8876 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002562/0.1636, allocations: 0.7109 MB / 0.8883 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005189/0.1688, allocations: 1.642 MB / 0.8899 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.005337/0.1741, allocations: 3.012 MB / 0.8928 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.007137/0.1813, allocations: 2.359 MB / 0.8951 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01826/0.1995, allocations: 11.37 MB / 0.9062 GB, free: 32 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.1995, allocations: 4 kB / 0.9062 GB, free: 28 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1995, allocations: 0 / 0.9062 GB, free: 28 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003278/0.1999, allocations: 3.938 kB / 0.9062 GB, free: 24 kB / 0.8542 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.0176/0.2175, allocations: 5.97 MB / 0.9121 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2175, allocations: 12.03 kB / 0.9121 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009628/0.2271, allocations: 1.823 MB / 0.9139 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.2372, allocations: 3.652 MB / 0.9174 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005641/0.2377, allocations: 374.4 kB / 0.9178 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/0.2401, allocations: 0.4964 MB / 0.9183 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.2614, allocations: 8.706 MB / 0.9268 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.2616, allocations: 31.75 kB / 0.9268 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007471/0.2623, allocations: 212 kB / 0.927 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.2635, allocations: 437.6 kB / 0.9274 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.2777, allocations: 6.073 MB / 0.9333 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04235/0.32, allocations: 21.38 MB / 0.9542 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.3233, allocations: 1.917 MB / 0.9561 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.3263, allocations: 1.748 MB / 0.9578 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3264, allocations: 30 kB / 0.9578 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.3265, allocations: 56.55 kB / 0.9579 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=171): time 3.968e-06/0.3265, allocations: 0 / 0.9579 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276): time 0.162/0.4885, allocations: 38.74 MB / 0.9957 GB, free: 3.227 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.4886, allocations: 81.58 kB / 0.9958 GB, free: 3.133 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.4927, allocations: 2.039 MB / 0.9978 GB, free: 1.074 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004579/0.4931, allocations: 69.7 kB / 0.9978 GB, free: 1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.4957, allocations: 2.351 MB / 1 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.497, allocations: 0.9682 MB / 1.001 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.4983, allocations: 0.5063 MB / 1.002 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4985, allocations: 301.1 kB / 1.002 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/0.5021, allocations: 1.973 MB / 1.004 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004433/0.5065, allocations: 2.599 MB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008394/0.5149, allocations: 4.933 MB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.5149, allocations: 4 kB / 1.011 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01737/0.5323, allocations: 7.751 MB / 1.019 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.5323, allocations: 12 kB / 1.019 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.5324, allocations: 20.88 kB / 1.019 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0138/0.5462, allocations: 3.722 MB / 1.022 GB, free: 7.215 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.5479, allocations: 399.3 kB / 1.023 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05649/0.6044, allocations: 32.74 MB / 1.055 GB, free: 5.469 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.6073, allocations: 163.8 kB / 1.055 GB, free: 5.309 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007299/0.6081, allocations: 108 kB / 1.055 GB, free: 5.203 MB / 1.01 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.00384/0.6119, allocations: 1.808 MB / 1.057 GB, free: 3.383 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.6131, allocations: 402.1 kB / 1.057 GB, free: 2.988 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3806/0.9938, allocations: 7.221 MB / 1.064 GB, free: 268.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.9938, allocations: 30.03 kB / 1.064 GB, free: 268.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/0.9939, allocations: 28.66 kB / 1.064 GB, free: 268.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.662e-05/0.994, allocations: 16.08 kB / 1.064 GB, free: 268.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.014, allocations: 11.4 MB / 1.075 GB, free: 264.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/1.014, allocations: 5.875 kB / 1.075 GB, free: 264.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009778/1.015, allocations: 232.8 kB / 1.076 GB, free: 264.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/1.026, allocations: 3.354 MB / 1.079 GB, free: 263.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003888/1.026, allocations: 52.75 kB / 1.079 GB, free: 263.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04096/1.067, allocations: 31.52 MB / 1.11 GB, free: 246.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.067, allocations: 12.38 kB / 1.11 GB, free: 246.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.082, allocations: 6.837 MB / 1.116 GB, free: 243.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.084, allocations: 0.7007 MB / 1.117 GB, free: 243.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.085, allocations: 61 kB / 1.117 GB, free: 243.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.087, allocations: 168 kB / 1.117 GB, free: 243.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/1.088, allocations: 267.2 kB / 1.118 GB, free: 243 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.088, allocations: 74.81 kB / 1.118 GB, free: 243 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002366/1.09, allocations: 1.336 MB / 1.119 GB, free: 242.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/1.09, allocations: 0.875 kB / 1.119 GB, free: 242.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004674/1.095, allocations: 1.377 MB / 1.12 GB, free: 242.4 MB / 1.01 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.000466/1.096, allocations: 166.1 kB / 1.12 GB, free: 242.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.107, allocations: 6.573 MB / 1.127 GB, free: 239.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.107, allocations: 3.719 kB / 1.127 GB, free: 239.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007196/1.114, allocations: 4.26 MB / 1.131 GB, free: 237.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/1.119, allocations: 1.023 MB / 1.132 GB, free: 236.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.135, allocations: 10.46 MB / 1.142 GB, free: 229.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004335/1.14, allocations: 3.119 MB / 1.145 GB, free: 226.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00187/1.142, allocations: 0.5204 MB / 1.146 GB, free: 226.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/1.142, allocations: 147.7 kB / 1.146 GB, free: 226.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/1.142, allocations: 4 kB / 1.146 GB, free: 226.3 MB / 1.01 GB Notification: Performance of Templates: time 0.09306/1.235, allocations: 75.54 MB / 1.22 GB, free: 153.5 MB / 1.01 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: 11.127800195943564]