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.0009682/0.0009682, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001424/0.001424, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9186/0.9186, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.771/1.771, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",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.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.718e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01526/0.01528, allocations: 20.38 MB / 0.8315 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.02621, allocations: 10.11 MB / 0.8413 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.0273, allocations: 214.4 kB / 0.8415 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.02853, allocations: 0.853 MB / 0.8424 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.03182, allocations: 2.833 MB / 0.8451 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.03376, allocations: 1.833 MB / 0.8469 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005289/0.03905, allocations: 8.903 MB / 0.8556 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004519/0.04357, allocations: 5.394 MB / 0.8609 GB, free: 14.95 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.04787, allocations: 5.684 MB / 0.8664 GB, free: 9.254 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.05131, allocations: 3.94 MB / 0.8703 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006405/0.05195, allocations: 0.7109 MB / 0.871 GB, free: 4.594 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.0529, allocations: 0.7967 MB / 0.8718 GB, free: 3.797 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.05456, allocations: 3.044 MB / 0.8747 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.05649, allocations: 2.37 MB / 0.8771 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.06052, allocations: 5.73 MB / 0.8827 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.06052, allocations: 4 kB / 0.8827 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.06053, allocations: 0 / 0.8827 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.327e-05/0.06058, allocations: 0 / 0.8827 GB, free: 8.621 MB / 0.8386 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.005502/0.06608, allocations: 6.164 MB / 0.8887 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.06612, allocations: 8.031 kB / 0.8887 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/0.06972, allocations: 1.733 MB / 0.8904 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.07382, allocations: 3.333 MB / 0.8936 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.07405, allocations: 374.4 kB / 0.894 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/0.07468, allocations: 0.4925 MB / 0.8945 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007497/0.08218, allocations: 5.327 MB / 0.8997 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.08228, allocations: 23.77 kB / 0.8997 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/0.08271, allocations: 216 kB / 0.8999 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007235/0.08343, allocations: 445.5 kB / 0.9003 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/0.08774, allocations: 1.899 MB / 0.9022 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02225/0.11, allocations: 22.97 MB / 0.9246 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1114, allocations: 0.9263 MB / 0.9255 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.1126, allocations: 0.7908 MB / 0.9263 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.1127, allocations: 30 kB / 0.9263 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.1127, allocations: 63.31 kB / 0.9264 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 4.018e-06/0.1127, allocations: 0 / 0.9264 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.01945/0.1322, allocations: 9.001 MB / 0.9352 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1322, allocations: 85.56 kB / 0.9352 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.1341, allocations: 1.861 MB / 0.9371 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.1343, allocations: 73.7 kB / 0.9371 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.1357, allocations: 2.404 MB / 0.9395 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007887/0.1365, allocations: 1.007 MB / 0.9405 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009531/0.1374, allocations: 0.517 MB / 0.941 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1376, allocations: 480.8 kB / 0.9414 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.1391, allocations: 0.6577 MB / 0.9421 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.1411, allocations: 1.55 MB / 0.9436 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.145, allocations: 2.439 MB / 0.946 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.145, allocations: 4 kB / 0.946 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009641/0.1547, allocations: 4.239 MB / 0.9501 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.1547, allocations: 12.19 kB / 0.9501 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.1547, allocations: 20 kB / 0.9501 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009373/0.1641, allocations: 2.579 MB / 0.9527 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.1655, allocations: 399.4 kB / 0.953 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.1864, allocations: 20.48 MB / 0.973 GB, free: 9.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.188, allocations: 163.8 kB / 0.9732 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.1881, allocations: 112 kB / 0.9733 GB, free: 8.852 MB / 0.9323 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.001018/0.1892, allocations: 319.9 kB / 0.9736 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004106/0.1896, allocations: 398.1 kB / 0.974 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005892/0.1955, allocations: 3.876 MB / 0.9778 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.1955, allocations: 28 kB / 0.9778 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-05/0.1955, allocations: 31.94 kB / 0.9778 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.1955, allocations: 15.94 kB / 0.9778 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.2067, allocations: 7.938 MB / 0.9856 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.2067, allocations: 4 kB / 0.9856 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.2074, allocations: 239.6 kB / 0.9858 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007206/0.2146, allocations: 2.399 MB / 0.9882 GB, free: 9.312 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.2148, allocations: 56 kB / 0.9882 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/0.2381, allocations: 20.35 MB / 1.008 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.2381, allocations: 11.94 kB / 1.008 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007515/0.2456, allocations: 3.916 MB / 1.012 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.2467, allocations: 0.6462 MB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.2471, allocations: 56 kB / 1.013 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.2482, allocations: 167.8 kB / 1.013 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007201/0.2489, allocations: 265.3 kB / 1.013 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.2491, allocations: 76 kB / 1.013 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001408/0.2505, allocations: 1.068 MB / 1.014 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2505, allocations: 0 / 1.014 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003232/0.2537, allocations: 1.379 MB / 1.015 GB, free: 12.33 MB / 0.9792 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.0003038/0.254, allocations: 178.9 kB / 1.016 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00687/0.2609, allocations: 4.621 MB / 1.02 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2609, allocations: 0.875 kB / 1.02 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004824/0.2657, allocations: 3.591 MB / 1.024 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.2683, allocations: 1.006 MB / 1.025 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.2789, allocations: 8.883 MB / 1.033 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.2802, allocations: 1.423 MB / 1.035 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001057/0.2812, allocations: 462.5 kB / 1.035 GB, free: 7.758 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.2815, allocations: 152.5 kB / 1.035 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of SimCode: time 1.523e-06/0.2815, allocations: 0 / 1.035 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of Templates: time 0.4309/0.7124, allocations: 79.14 MB / 1.113 GB, free: 224.1 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.710930720902979]