Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 181.1 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 68.09 kB / 1.061 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 160.8 MB / 1.218 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04064/1.06, allocations: 32.16 MB / 1.25 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0248/1.085, allocations: 13.96 MB / 1.264 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004394/1.09, allocations: 190.5 kB / 1.264 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009455/1.099, allocations: 3.348 MB / 1.267 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009554/1.109, allocations: 2.782 MB / 1.27 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006631/1.115, allocations: 2.059 MB / 1.272 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.128, allocations: 7.628 MB / 1.279 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009176/1.137, allocations: 4.251 MB / 1.283 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007045/1.144, allocations: 3.517 MB / 1.287 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006667/1.151, allocations: 3.57 MB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002103/1.153, allocations: 0.5938 MB / 1.291 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005974/1.159, allocations: 1.517 MB / 1.292 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005365/1.164, allocations: 2.435 MB / 1.295 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007928/1.172, allocations: 2.878 MB / 1.297 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01586/1.188, allocations: 9.488 MB / 1.307 GB, free: 12.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.188, allocations: 0 / 1.307 GB, free: 12.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/1.188, allocations: 0 / 1.307 GB, free: 12.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002962/1.188, allocations: 4 kB / 1.307 GB, free: 12.46 MB / 1.014 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.01258/1.201, allocations: 5.27 MB / 1.312 GB, free: 7.102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.201, allocations: 8.031 kB / 1.312 GB, free: 7.094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005689/1.207, allocations: 1.02 MB / 1.313 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/1.214, allocations: 3.101 MB / 1.316 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/1.215, allocations: 312.9 kB / 1.316 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/1.216, allocations: 424 kB / 1.317 GB, free: 2.168 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/1.23, allocations: 6.791 MB / 1.323 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.23, allocations: 19.88 kB / 1.323 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/1.231, allocations: 184 kB / 1.323 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008881/1.232, allocations: 372 kB / 1.324 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/1.243, allocations: 5.126 MB / 1.329 GB, free: 5.371 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04355/1.286, allocations: 30.56 MB / 1.359 GB, free: 4.043 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/1.289, allocations: 1.316 MB / 1.36 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/1.291, allocations: 1.257 MB / 1.361 GB, free: 1.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/1.291, allocations: 13.31 kB / 1.361 GB, free: 1.457 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/1.291, allocations: 47.88 kB / 1.361 GB, free: 1.402 MB / 1.061 GB Notification: Performance of pre-optimization done (n=130): time 3.036e-06/1.291, allocations: 0 / 1.361 GB, free: 1.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=199): time 0.08687/1.378, allocations: 23.07 MB / 1.384 GB, free: 10.22 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/1.378, allocations: 73.41 kB / 1.384 GB, free: 10.13 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/1.381, allocations: 2.059 MB / 1.386 GB, free: 8.059 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003012/1.381, allocations: 61.7 kB / 1.386 GB, free: 7.992 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002439/1.384, allocations: 2.07 MB / 1.388 GB, free: 5.902 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.385, allocations: 0.7087 MB / 1.389 GB, free: 5.188 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009349/1.386, allocations: 412.4 kB / 1.389 GB, free: 4.777 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003023/1.386, allocations: 305.1 kB / 1.389 GB, free: 4.477 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.389, allocations: 1.43 MB / 1.391 GB, free: 3.043 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/1.393, allocations: 2.01 MB / 1.393 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005952/1.399, allocations: 3.7 MB / 1.396 GB, free: 12.85 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.399, allocations: 4 kB / 1.396 GB, free: 12.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01322/1.412, allocations: 5.6 MB / 1.402 GB, free: 7.176 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/1.412, allocations: 12 kB / 1.402 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.412, allocations: 27.88 kB / 1.402 GB, free: 7.137 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007526/1.419, allocations: 2.076 MB / 1.404 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.421, allocations: 383.3 kB / 1.404 GB, free: 4.629 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04978/1.471, allocations: 38.45 MB / 1.442 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/1.474, allocations: 127.9 kB / 1.442 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004497/1.474, allocations: 91.98 kB / 1.442 GB, free: 11.44 MB / 1.154 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.003044/1.477, allocations: 1.52 MB / 1.443 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/1.478, allocations: 294.2 kB / 1.444 GB, free: 9.617 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.49, allocations: 5.141 MB / 1.449 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.49, allocations: 20 kB / 1.449 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-05/1.49, allocations: 24.27 kB / 1.449 GB, free: 4.359 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/1.49, allocations: 7.969 kB / 1.449 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/1.512, allocations: 9.603 MB / 1.458 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/1.512, allocations: 8 kB / 1.458 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.513, allocations: 223.7 kB / 1.458 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006494/1.519, allocations: 1.846 MB / 1.46 GB, free: 8.41 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/1.52, allocations: 43.94 kB / 1.46 GB, free: 8.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04399/1.564, allocations: 37.45 MB / 1.497 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.564, allocations: 7.938 kB / 1.497 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.574, allocations: 4.86 MB / 1.502 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/1.576, allocations: 0.6357 MB / 1.502 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007177/1.577, allocations: 44 kB / 1.502 GB, free: 10.67 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.578, allocations: 127.8 kB / 1.502 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/1.579, allocations: 205.5 kB / 1.503 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.579, allocations: 56 kB / 1.503 GB, free: 10.29 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002272/1.581, allocations: 1.378 MB / 1.504 GB, free: 8.898 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.581, allocations: 0 / 1.504 GB, free: 8.898 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003804/1.585, allocations: 1.047 MB / 1.505 GB, free: 7.852 MB / 1.217 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.0003621/1.585, allocations: 180.9 kB / 1.505 GB, free: 7.668 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.596, allocations: 6.007 MB / 1.511 GB, free: 1.43 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.596, allocations: 8.25 kB / 1.511 GB, free: 1.422 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007634/1.604, allocations: 4.273 MB / 1.515 GB, free: 12.92 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/1.609, allocations: 0.9975 MB / 1.516 GB, free: 11.95 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.626, allocations: 8.272 MB / 1.524 GB, free: 3.582 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004502/1.631, allocations: 3.121 MB / 1.527 GB, free: 436 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00194/1.633, allocations: 0.5237 MB / 1.528 GB, free: 15.9 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/1.633, allocations: 151.4 kB / 1.528 GB, free: 15.75 MB / 1.248 GB Notification: Performance of SimCode: time 1.273e-06/1.633, allocations: 0 / 1.528 GB, free: 15.75 MB / 1.248 GB Notification: Performance of Templates: time 0.1183/1.751, allocations: 60.86 MB / 1.587 GB, free: 3.672 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.914885302074254]