Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001094/0.001094, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001484/0.001484, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9223/0.9223, allocations: 177.1 MB / 204.6 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.846/1.846, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.791e-05, allocations: 3.078 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02014/0.02017, allocations: 17.82 MB / 0.7774 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.03196, allocations: 5.709 MB / 0.783 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.03394, allocations: 211.5 kB / 0.7832 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.03556, allocations: 0.8106 MB / 0.784 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.03903, allocations: 1.791 MB / 0.7858 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.0424, allocations: 1.756 MB / 0.7875 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006446/0.04884, allocations: 8.463 MB / 0.7957 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005891/0.05473, allocations: 6.386 MB / 0.802 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.05973, allocations: 5.372 MB / 0.8072 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.06376, allocations: 4.118 MB / 0.8112 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.06489, allocations: 0.7773 MB / 0.812 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.06614, allocations: 0.8648 MB / 0.8128 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.06857, allocations: 3.317 MB / 0.8161 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.07059, allocations: 2.398 MB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.07456, allocations: 5.972 MB / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.07457, allocations: 0 / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.07457, allocations: 2.094 kB / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.635e-05/0.07463, allocations: 0 / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.004848/0.07948, allocations: 5.416 MB / 0.8296 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.07952, allocations: 8.938 kB / 0.8296 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.08217, allocations: 1.428 MB / 0.831 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.08493, allocations: 2.682 MB / 0.8336 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.08511, allocations: 419.5 kB / 0.834 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/0.08564, allocations: 0.5393 MB / 0.8345 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.09001, allocations: 4.953 MB / 0.8393 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.641e-05/0.09011, allocations: 43.86 kB / 0.8394 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.09045, allocations: 233.4 kB / 0.8396 GB, free: 4.41 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/0.09068, allocations: 354.7 kB / 0.8399 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.0926, allocations: 1.42 MB / 0.8413 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.1065, allocations: 19.5 MB / 0.8604 GB, free: 14.57 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1076, allocations: 1.116 MB / 0.8615 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.1083, allocations: 0.6991 MB / 0.8621 GB, free: 12.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.1084, allocations: 30 kB / 0.8622 GB, free: 12.72 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1084, allocations: 53.14 kB / 0.8622 GB, free: 12.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=179): time 2.836e-06/0.1084, allocations: 0 / 0.8622 GB, free: 12.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.008987/0.1174, allocations: 4.944 MB / 0.867 GB, free: 7.727 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1174, allocations: 77.34 kB / 0.8671 GB, free: 7.637 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.1181, allocations: 1.258 MB / 0.8683 GB, free: 6.379 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.1182, allocations: 53.7 kB / 0.8684 GB, free: 6.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/0.1189, allocations: 2.103 MB / 0.8705 GB, free: 4.195 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.1194, allocations: 0.6544 MB / 0.8711 GB, free: 3.535 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.1198, allocations: 376 kB / 0.8715 GB, free: 3.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.1198, allocations: 301.1 kB / 0.8717 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.1201, allocations: 240.4 kB / 0.872 GB, free: 2.625 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.1207, allocations: 0.9519 MB / 0.8729 GB, free: 1.359 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1218, allocations: 1.46 MB / 0.8743 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.1218, allocations: 8 kB / 0.8743 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002239/0.124, allocations: 1.982 MB / 0.8763 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.124, allocations: 20.03 kB / 0.8763 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.124, allocations: 20 kB / 0.8763 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.1261, allocations: 1.079 MB / 0.8774 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.1266, allocations: 319.4 kB / 0.8777 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/0.1344, allocations: 9.574 MB / 0.887 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.1349, allocations: 64 kB / 0.8871 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.135, allocations: 76 kB / 0.8871 GB, free: 2.051 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006958/0.1357, allocations: 256 kB / 0.8874 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.1359, allocations: 195.8 kB / 0.8876 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.1379, allocations: 1.691 MB / 0.8892 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1379, allocations: 16 kB / 0.8892 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.1379, allocations: 19.94 kB / 0.8893 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.1379, allocations: 11.95 kB / 0.8893 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.1428, allocations: 4.166 MB / 0.8933 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1428, allocations: 7.938 kB / 0.8933 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.1432, allocations: 147.8 kB / 0.8935 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.1448, allocations: 0.9558 MB / 0.8944 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.1449, allocations: 36 kB / 0.8945 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00707/0.1519, allocations: 8.898 MB / 0.9031 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1519, allocations: 4 kB / 0.9032 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.1541, allocations: 1.823 MB / 0.9049 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.1545, allocations: 346.4 kB / 0.9053 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.1547, allocations: 35.94 kB / 0.9053 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.155, allocations: 36 kB / 0.9053 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.1552, allocations: 173.5 kB / 0.9055 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.1553, allocations: 32 kB / 0.9055 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003843/0.1557, allocations: 0.6048 MB / 0.9061 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1557, allocations: 0 / 0.9061 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001624/0.1573, allocations: 0.9961 MB / 0.9071 GB, free: 12.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.1575, allocations: 128.2 kB / 0.9072 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.1601, allocations: 2.447 MB / 0.9096 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-05/0.1601, allocations: 29.75 kB / 0.9096 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.1618, allocations: 1.771 MB / 0.9114 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.1635, allocations: 0.7663 MB / 0.9121 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/0.1724, allocations: 8.126 MB / 0.92 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.1735, allocations: 1.346 MB / 0.9214 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005513/0.174, allocations: 251.4 kB / 0.9216 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.1748, allocations: 0.5029 MB / 0.9221 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/0.1748, allocations: 0 / 0.9221 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.05541/0.2302, allocations: 47.6 MB / 0.9686 GB, free: 14.57 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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: 5.833261564839631]