Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0009949/0.0009949, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000944/0.000944, allocations: 161 kB / 24.17 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.9489/0.9489, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.778e-05, allocations: 3.125 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003501/0.003529, allocations: 3.254 MB / 0.7632 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.005255, allocations: 1.218 MB / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.005451, allocations: 27.75 kB / 0.7644 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.005929, allocations: 131.8 kB / 0.7645 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.006362, allocations: 281.5 kB / 0.7648 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.006721, allocations: 229.3 kB / 0.765 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.007321, allocations: 0.7023 MB / 0.7657 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.007637, allocations: 250.8 kB / 0.7659 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.008068, allocations: 371.7 kB / 0.7663 GB, free: 204 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.008387, allocations: 248.1 kB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.008426, allocations: 34.19 kB / 0.7666 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.008592, allocations: 95.78 kB / 0.7667 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.0087, allocations: 147.5 kB / 0.7668 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.008811, allocations: 151.6 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.009181, allocations: 406.4 kB / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.009186, allocations: 3.984 kB / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.009187, allocations: 3.156 kB / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.009193, allocations: 0 / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.000613/0.009806, allocations: 0.6436 MB / 0.768 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.009837, allocations: 8.031 kB / 0.768 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.01046, allocations: 204.4 kB / 0.7682 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.01084, allocations: 373.1 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.01086, allocations: 25.38 kB / 0.7685 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.01091, allocations: 36.36 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.0113, allocations: 0.5262 MB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.01131, allocations: 4.125 kB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.01134, allocations: 20.36 kB / 0.7691 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.0114, allocations: 54.66 kB / 0.7692 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.01159, allocations: 180.7 kB / 0.7693 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.01312, allocations: 2.811 MB / 0.7721 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.01383, allocations: 0.5129 MB / 0.7726 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.01389, allocations: 55.12 kB / 0.7726 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.01392, allocations: 17.19 kB / 0.7727 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.01394, allocations: 34.5 kB / 0.7727 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.01394, allocations: 0 / 0.7727 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0007611/0.0147, allocations: 439.3 kB / 0.7731 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.01474, allocations: 110.8 kB / 0.7732 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.01495, allocations: 360.3 kB / 0.7736 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01497, allocations: 33.7 kB / 0.7736 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01509, allocations: 260.7 kB / 0.7738 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.01515, allocations: 123.9 kB / 0.774 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.01524, allocations: 90.25 kB / 0.774 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.01533, allocations: 359.6 kB / 0.7744 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.01539, allocations: 49.28 kB / 0.7744 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.01553, allocations: 260.2 kB / 0.7747 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.01579, allocations: 382.4 kB / 0.775 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.0158, allocations: 0 / 0.775 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004097/0.01621, allocations: 392.2 kB / 0.7754 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01623, allocations: 11.22 kB / 0.7754 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.01624, allocations: 8 kB / 0.7754 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.01643, allocations: 77.8 kB / 0.7755 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01662, allocations: 103.8 kB / 0.7756 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.01835, allocations: 3.598 MB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01851, allocations: 16 kB / 0.7791 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.01853, allocations: 23.98 kB / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.01865, allocations: 154.6 kB / 0.7793 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.0187, allocations: 39.95 kB / 0.7793 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.01901, allocations: 269.2 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01901, allocations: 7.938 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01902, allocations: 0 / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01902, allocations: 5.406 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.01976, allocations: 0.8797 MB / 0.7805 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.01976, allocations: 7.984 kB / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01987, allocations: 49.42 kB / 0.7805 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.02001, allocations: 76.56 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.02003, allocations: 15.98 kB / 0.7806 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.02178, allocations: 3.584 MB / 0.7841 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.02179, allocations: 7.938 kB / 0.7841 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.02226, allocations: 0.6725 MB / 0.7848 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.02235, allocations: 55.69 kB / 0.7848 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.02238, allocations: 12.64 kB / 0.7848 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.02252, allocations: 12 kB / 0.7849 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.02256, allocations: 36.42 kB / 0.7849 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.02257, allocations: 8 kB / 0.7849 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001014/0.02267, allocations: 145.7 kB / 0.785 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02267, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004184/0.02309, allocations: 124.9 kB / 0.7852 GB, free: 11.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.02321, allocations: 89.42 kB / 0.7852 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000596/0.0238, allocations: 0.5922 MB / 0.7858 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.02381, allocations: 5.812 kB / 0.7858 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.02413, allocations: 458.3 kB / 0.7863 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.02466, allocations: 130.6 kB / 0.7864 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.02581, allocations: 0.8338 MB / 0.7872 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.02591, allocations: 137.7 kB / 0.7873 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000126/0.02603, allocations: 54.69 kB / 0.7874 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.02622, allocations: 145.3 kB / 0.7875 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of SimCode: time 1.343e-06/0.02622, allocations: 1.062 kB / 0.7875 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.008675/0.03489, allocations: 6.331 MB / 0.7937 GB, free: 2.848 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.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.173620484303683]